From b5a628cdd2342e2b0045ef5296041fdca5f736eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gy=C3=B6rgy=20Ball=C3=B3?= Date: Wed, 18 Nov 2015 23:03:43 +0100 Subject: 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. --- drivemount/drive-button.c | 1 - 1 file changed, 1 deletion(-) (limited to 'drivemount') 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 -- cgit v1.2.1