summaryrefslogtreecommitdiff
path: root/mate-volume-control
diff options
context:
space:
mode:
authorGyörgy Balló <[email protected]>2015-11-18 21:19:49 +0100
committerGyörgy Balló <[email protected]>2015-11-18 21:19:49 +0100
commitfa0f3be7e1c88b7bf43a5c2fca33587aa57ba19d (patch)
tree70da5e6b04edf0d46ea6e4a396dcc36700e1c82f /mate-volume-control
parent8a9386bda4f3c19f637485045b739ffa3c39c558 (diff)
downloadmate-media-fa0f3be7e1c88b7bf43a5c2fca33587aa57ba19d.tar.bz2
mate-media-fa0f3be7e1c88b7bf43a5c2fca33587aa57ba19d.tar.xz
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.
Diffstat (limited to 'mate-volume-control')
-rw-r--r--mate-volume-control/gvc-stream-status-icon.c1
1 files changed, 0 insertions, 1 deletions
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));