Skip to content

Commit

Permalink
Don't remove slider background
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
City-busz committed Nov 18, 2015
1 parent 8a9386b commit fa0f3be
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mate-volume-control/gvc-stream-status-icon.c
Expand Up @@ -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));
Expand Down

0 comments on commit fa0f3be

Please sign in to comment.