From fa0f3be7e1c88b7bf43a5c2fca33587aa57ba19d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gy=C3=B6rgy=20Ball=C3=B3?= Date: Wed, 18 Nov 2015 21:19:49 +0100 Subject: Don't remove slider background This fixes the background for GTK+ 3 themes which don't support mate-panel explicitly. Themes could still overwrite the background if they want in the usual way. --- mate-volume-control/gvc-stream-status-icon.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mate-volume-control/gvc-stream-status-icon.c b/mate-volume-control/gvc-stream-status-icon.c index bd26eff..41dc208 100644 --- a/mate-volume-control/gvc-stream-status-icon.c +++ b/mate-volume-control/gvc-stream-status-icon.c @@ -788,7 +788,6 @@ gvc_stream_status_icon_init (GvcStreamStatusIcon *icon) GtkWidget *toplevel = gtk_widget_get_toplevel (icon->priv->dock); GtkStyleContext *context; context = gtk_widget_get_style_context (GTK_WIDGET(toplevel)); - gtk_style_context_remove_class (context,GTK_STYLE_CLASS_BACKGROUND); gtk_style_context_add_class(context,"mate-panel-applet-slider"); /* Make transparency possible in gtk3 theme */ GdkScreen *screen = gtk_widget_get_screen(GTK_WIDGET(toplevel)); -- cgit v1.2.1