Mercurial > repos > other > Adwaita-Dark-Green
changeset 20:b8c9b02def47
Fix the ugly INSENSITIVE drop-shadow on Pixmap menu items
We now rely on the Murrine engine for a tiny fudge, but it is
better than ugly menu items!
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 01 Oct 2016 13:31:32 +0100 |
parents | 14918ee8ecd1 |
children | 66fe978c102e |
files | gtk-2.0/gtkrc |
diffstat | 1 files changed, 7 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/gtk-2.0/gtkrc Sat Jul 09 21:00:04 2016 +0100 +++ b/gtk-2.0/gtkrc Sat Oct 01 13:31:32 2016 +0100 @@ -749,13 +749,9 @@ # See https://bugs.freedesktop.org/show_bug.cgi?id=38038 bg[SELECTED] = @selected_fg_color - fg[NORMAL] = @fg_dark_color bg[PRELIGHT] = @selected_bg_color fg[PRELIGHT] = @selected_fg_color text[PRELIGHT] = @selected_fg_color - #HACK: Gimp and Inkscape are showing bevelling, but LibreOffice isn't - # So set a dark colour to let the bevel be our colour - fg[INSENSITIVE] = @bg_dark_color engine "pixmap" { @@ -931,12 +927,17 @@ } } } +style "menu_item_label" { + engine "murrine" { + } +} style "menubar_item" { xthickness = 2 ythickness = 3 bg[PRELIGHT] = @selected_fg_color + # Make it look more like GTK3 menus fg[PRELIGHT] = @selected_bg_color } @@ -2339,6 +2340,8 @@ widget_class "*<GtkMenu>*" style "menu" widget_class "*<GtkMenu>*" style "menu_framed_box" widget_class "*<GtkMenuItem>*" style "menu_item" +# Fudge menu item labels so we don't get Pixmap's ugly shadow on disabled menu items +widget_class "*<GtkMenuItem>.<GtkLabel>" style "menu_item_label" widget_class "*<GtkMenuBar>.<GtkMenuItem>*" style "menubar_item" widget_class "*<GtkCheckButton>*" style "checkbutton" widget_class "*<GtkComboBox>" style "combobox"