diff options
author | György Balló <[email protected]> | 2015-11-18 21:11:58 +0100 |
---|---|---|
committer | György Balló <[email protected]> | 2015-11-18 21:11:58 +0100 |
commit | e9a860b9cb10de28549b8b89226db972f48d6ba9 (patch) | |
tree | 760a3a4c090d67f75b83e3ab194ca8db3191f5b2 | |
parent | 954a80e6c2f945c6abf0a244d1a5dcb14c0ac5fb (diff) | |
download | mate-power-manager-e9a860b9cb10de28549b8b89226db972f48d6ba9.tar.bz2 mate-power-manager-e9a860b9cb10de28549b8b89226db972f48d6ba9.tar.xz |
bightness: 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.
-rw-r--r-- | applets/brightness/brightness-applet.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/applets/brightness/brightness-applet.c b/applets/brightness/brightness-applet.c index 8930551..1589902 100644 --- a/applets/brightness/brightness-applet.c +++ b/applets/brightness/brightness-applet.c @@ -709,7 +709,6 @@ gpm_applet_create_popup (GpmBrightnessApplet *applet) GtkWidget *toplevel = gtk_widget_get_toplevel (frame); 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 theme3 */ GdkScreen *screen = gtk_widget_get_screen(GTK_WIDGET(toplevel)); |