summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGyörgy Balló <[email protected]>2015-11-18 23:03:43 +0100
committerGyörgy Balló <[email protected]>2015-11-18 23:03:43 +0100
commitb5a628cdd2342e2b0045ef5296041fdca5f736eb (patch)
treec6e2b3949b9eb5f7e7007311b0cb3d7251c19892
parente62a4adf58d083b6e532270abeb58efdb005aa1d (diff)
downloadmate-applets-b5a628cdd2342e2b0045ef5296041fdca5f736eb.tar.bz2
mate-applets-b5a628cdd2342e2b0045ef5296041fdca5f736eb.tar.xz
drivemount: Don't remove background
This fixes the invisible text 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--drivemount/drive-button.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivemount/drive-button.c b/drivemount/drive-button.c
index 5bd420fd..51e90100 100644
--- a/drivemount/drive-button.c
+++ b/drivemount/drive-button.c
@@ -1000,7 +1000,6 @@ drive_button_ensure_popup (DriveButton *self)
/*set menu and it's toplevel window to follow panel theme */
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,"gnome-panel-menu-bar");
gtk_style_context_add_class(context,"mate-panel-menu-bar");
#endif