From a9ce9d56ae61f23592fa4a8c200085dde7b43e07 Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Thu, 13 Oct 2016 18:45:34 +0200 Subject: gtk2: fix geany search entries (#674) --- common/gtk-2.0/apps.rc | 75 ++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 72 insertions(+), 3 deletions(-) (limited to 'common/gtk-2.0/apps.rc') diff --git a/common/gtk-2.0/apps.rc b/common/gtk-2.0/apps.rc index 3755258..872e501 100644 --- a/common/gtk-2.0/apps.rc +++ b/common/gtk-2.0/apps.rc @@ -76,11 +76,80 @@ style "entry_border" { } } +style "combobox_entry_border" = "combobox_entry" +{ + + engine "pixmap" { + + image { + function = SHADOW + detail = "entry" + state = NORMAL + shadow = IN + file = "assets/combo-entry-border.png" + border = { 4, 4, 5, 4 } + stretch = TRUE + direction = LTR + } + + image { + function = SHADOW + detail = "entry" + state = ACTIVE + file = "assets/combo-entry-border-focus.png" + border = { 4, 4, 5, 4 } + stretch = TRUE + direction = LTR + } + + image { + function = SHADOW + detail = "entry" + state = NORMAL + shadow = IN + file = "assets/combo-entry-border-rtl.png" + border = { 4, 4, 5, 4 } + stretch = TRUE + direction = RTL + } + + image { + function = SHADOW + detail = "entry" + state = ACTIVE + file = "assets/combo-entry-border-focus-rtl.png" + border = { 4, 4, 5, 4 } + stretch = TRUE + direction = RTL + } + + image { + function = FLAT_BOX + state = INSENSITIVE + detail = "entry_bg" + file = "assets/null.png" + } + + image { + function = FLAT_BOX + detail = "entry_bg" + file = "assets/null.png" + } + } +} + + # Mousepad search entry -widget_class "*MousepadSearchBar*." style "entry_border" +widget_class "*MousepadSearchBar*." style "entry_border" # Mousepad find and replace -widget_class "*MousepadReplaceDialog*." style "entry_border" +widget_class "*MousepadReplaceDialog*." style "entry_border" # Hexchat input box -class "SexySpellEntry" style:highest "entry_border" +class "SexySpellEntry" style:highest "entry_border" + +# Geany search entries +widget "*GeanyToolbar.*geany-search-entry-no-match*" style "entry_border" +widget "*GeanyToolbar.*GtkEntry*" style "entry_border" + +widget "GeanyDialogSearch.*GtkComboBoxEntry*.*geany-search-entry-no-match*" style "combobox_entry_border" -- cgit v1.2.3