diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2012-07-08 19:12:35 -0400 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2012-08-17 17:05:43 +0200 |
commit | e8f3a49491e6bf922b79d65db1c0ed79fbdbd00f (patch) | |
tree | 10d4ba46a0e4207be402b4db7940d2250bf36a70 | |
parent | e44dc873c4b418ba62ef72aa2bec25cf9093d776 (diff) | |
download | gnome-themes-standard-e8f3a49491e6bf922b79d65db1c0ed79fbdbd00f.tar.gz |
Add hack for libreoffice menus
-rwxr-xr-x | themes/Adwaita/gtk-2.0/gtkrc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/themes/Adwaita/gtk-2.0/gtkrc b/themes/Adwaita/gtk-2.0/gtkrc index 7ec9cdd5..d0b14d7d 100755 --- a/themes/Adwaita/gtk-2.0/gtkrc +++ b/themes/Adwaita/gtk-2.0/gtkrc @@ -588,6 +588,16 @@ style "menu_item" xthickness = 2 ythickness = 4 + # HACK: Gtk doesn't actually read this value + # while rendering the menu items, but Libreoffice + # does; setting this value equal to the one in + # fg[PRELIGHT] ensures a code path in the LO theming code + # that falls back to a dark text color for menu item text + # highlight. The price to pay is black text on menus as well, + # but at least it's readable. + # See https://bugs.freedesktop.org/show_bug.cgi?id=38038 + bg[SELECTED] = @selected_fg_color + bg[PRELIGHT] = @selected_bg_color fg[PRELIGHT] = @selected_fg_color text[PRELIGHT] = @selected_fg_color |