summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2018-05-07 21:01:29 +0200
committerraveit65 <[email protected]>2018-05-07 21:01:29 +0200
commit2674157347d3950b3ed055cfecc0a3dd65bb614a (patch)
tree994914d60f0c87676f539d539fc49311ba69b435
parent2ae546b02a11ec31d0635c4b12b8d9af9584314e (diff)
downloadmate-settings-daemon-2674157347d3950b3ed055cfecc0a3dd65bb614a.tar.bz2
mate-settings-daemon-2674157347d3950b3ed055cfecc0a3dd65bb614a.tar.xz
xrandr-applet: don't hard code label colors in menu
Using black color makes the label unreadable with dark themes
-rw-r--r--plugins/xrandr/msd-xrandr-manager.c7
1 files changed, 0 insertions, 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);