From 44df0632105def86603e9349a64c211496ee2f24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gy=C3=B6rgy=20Ball=C3=B3?= Date: Wed, 18 Nov 2015 22:17:46 +0100 Subject: xrandr: Don't remove applet 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. --- plugins/xrandr/msd-xrandr-manager.c | 1 - 1 file changed, 1 deletion(-) (limited to 'plugins/xrandr') diff --git a/plugins/xrandr/msd-xrandr-manager.c b/plugins/xrandr/msd-xrandr-manager.c index 840ff1c..b79e666 100644 --- a/plugins/xrandr/msd-xrandr-manager.c +++ b/plugins/xrandr/msd-xrandr-manager.c @@ -2129,7 +2129,6 @@ status_icon_popup_menu (MsdXrandrManager *manager, guint button, guint32 timesta /*Set up the gtk theme class from mate-panel*/ 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