From 2674157347d3950b3ed055cfecc0a3dd65bb614a Mon Sep 17 00:00:00 2001 From: raveit65 Date: Mon, 7 May 2018 21:01:29 +0200 Subject: xrandr-applet: don't hard code label colors in menu Using black color makes the label unreadable with dark themes --- plugins/xrandr/msd-xrandr-manager.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/plugins/xrandr/msd-xrandr-manager.c b/plugins/xrandr/msd-xrandr-manager.c index 580e157..eaa4cef 100644 --- a/plugins/xrandr/msd-xrandr-manager.c +++ b/plugins/xrandr/msd-xrandr-manager.c @@ -1787,7 +1787,6 @@ make_menu_item_for_output_title (MsdXrandrManager *manager, MateRROutputInfo *ou GtkWidget *item; GtkWidget *label; char *str; - GdkColor black = { 0, 0, 0, 0 }; item = gtk_menu_item_new (); @@ -1799,12 +1798,6 @@ make_menu_item_for_output_title (MsdXrandrManager *manager, MateRROutputInfo *ou gtk_label_set_markup (GTK_LABEL (label), str); g_free (str); - /* Make the label explicitly black. We don't want it to follow the - * theme's colors, since the label is always shown against a light - * pastel background. See bgo#556050 - */ - gtk_widget_modify_fg (label, gtk_widget_get_state (label), &black); - /* Add padding around the label to fit the box that we'll draw for color-coding */ gtk_label_set_xalign (GTK_LABEL (label), 0.0); gtk_label_set_yalign (GTK_LABEL (label), 0.5); -- cgit v1.2.1