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 ++++++- common/gtk-2.0/assets-dark.svg | 214 ++++++++++++++++++- .../assets-dark/combo-entry-border-focus-rtl.png | Bin 0 -> 256 bytes .../assets-dark/combo-entry-border-focus.png | Bin 0 -> 253 bytes .../gtk-2.0/assets-dark/combo-entry-border-rtl.png | Bin 0 -> 260 bytes common/gtk-2.0/assets-dark/combo-entry-border.png | Bin 0 -> 253 bytes common/gtk-2.0/assets.svg | 230 ++++++++++++++++++++- common/gtk-2.0/assets.txt | 4 + .../assets/combo-entry-border-focus-rtl.png | Bin 0 -> 256 bytes common/gtk-2.0/assets/combo-entry-border-focus.png | Bin 0 -> 249 bytes common/gtk-2.0/assets/combo-entry-border-rtl.png | Bin 0 -> 254 bytes common/gtk-2.0/assets/combo-entry-border.png | Bin 0 -> 249 bytes 12 files changed, 513 insertions(+), 10 deletions(-) create mode 100644 common/gtk-2.0/assets-dark/combo-entry-border-focus-rtl.png create mode 100644 common/gtk-2.0/assets-dark/combo-entry-border-focus.png create mode 100644 common/gtk-2.0/assets-dark/combo-entry-border-rtl.png create mode 100644 common/gtk-2.0/assets-dark/combo-entry-border.png create mode 100644 common/gtk-2.0/assets/combo-entry-border-focus-rtl.png create mode 100644 common/gtk-2.0/assets/combo-entry-border-focus.png create mode 100644 common/gtk-2.0/assets/combo-entry-border-rtl.png create mode 100644 common/gtk-2.0/assets/combo-entry-border.png 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" diff --git a/common/gtk-2.0/assets-dark.svg b/common/gtk-2.0/assets-dark.svg index 906d531..5908b2b 100644 --- a/common/gtk-2.0/assets-dark.svg +++ b/common/gtk-2.0/assets-dark.svg @@ -741,6 +741,90 @@ x2="51.5" y2="-256.63782" gradientUnits="userSpaceOnUse" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/common/gtk-2.0/assets-dark/combo-entry-border-focus-rtl.png b/common/gtk-2.0/assets-dark/combo-entry-border-focus-rtl.png new file mode 100644 index 0000000..5288d13 Binary files /dev/null and b/common/gtk-2.0/assets-dark/combo-entry-border-focus-rtl.png differ diff --git a/common/gtk-2.0/assets-dark/combo-entry-border-focus.png b/common/gtk-2.0/assets-dark/combo-entry-border-focus.png new file mode 100644 index 0000000..e000d0d Binary files /dev/null and b/common/gtk-2.0/assets-dark/combo-entry-border-focus.png differ diff --git a/common/gtk-2.0/assets-dark/combo-entry-border-rtl.png b/common/gtk-2.0/assets-dark/combo-entry-border-rtl.png new file mode 100644 index 0000000..f2fb6b0 Binary files /dev/null and b/common/gtk-2.0/assets-dark/combo-entry-border-rtl.png differ diff --git a/common/gtk-2.0/assets-dark/combo-entry-border.png b/common/gtk-2.0/assets-dark/combo-entry-border.png new file mode 100644 index 0000000..92ebe4e Binary files /dev/null and b/common/gtk-2.0/assets-dark/combo-entry-border.png differ diff --git a/common/gtk-2.0/assets.svg b/common/gtk-2.0/assets.svg index 4daaa5b..1994bc2 100644 --- a/common/gtk-2.0/assets.svg +++ b/common/gtk-2.0/assets.svg @@ -19,6 +19,20 @@ sodipodi:docname="assets.svg"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/common/gtk-2.0/assets.txt b/common/gtk-2.0/assets.txt index 853a182..710871e 100644 --- a/common/gtk-2.0/assets.txt +++ b/common/gtk-2.0/assets.txt @@ -56,13 +56,17 @@ entry-toolbar entry-active-toolbar entry-disabled-toolbar combo-entry +combo-entry-border combo-entry-focus +combo-entry-border-focus combo-entry-insensitive combo-entry-notebook combo-entry-focus-notebook combo-entry-insensitive-notebook combo-entry-rtl +combo-entry-border-rtl combo-entry-focus-rtl +combo-entry-border-focus-rtl combo-entry-insensitive-rtl combo-entry-notebook-rtl combo-entry-focus-notebook-rtl diff --git a/common/gtk-2.0/assets/combo-entry-border-focus-rtl.png b/common/gtk-2.0/assets/combo-entry-border-focus-rtl.png new file mode 100644 index 0000000..4923da4 Binary files /dev/null and b/common/gtk-2.0/assets/combo-entry-border-focus-rtl.png differ diff --git a/common/gtk-2.0/assets/combo-entry-border-focus.png b/common/gtk-2.0/assets/combo-entry-border-focus.png new file mode 100644 index 0000000..623c777 Binary files /dev/null and b/common/gtk-2.0/assets/combo-entry-border-focus.png differ diff --git a/common/gtk-2.0/assets/combo-entry-border-rtl.png b/common/gtk-2.0/assets/combo-entry-border-rtl.png new file mode 100644 index 0000000..f30c410 Binary files /dev/null and b/common/gtk-2.0/assets/combo-entry-border-rtl.png differ diff --git a/common/gtk-2.0/assets/combo-entry-border.png b/common/gtk-2.0/assets/combo-entry-border.png new file mode 100644 index 0000000..0644fef Binary files /dev/null and b/common/gtk-2.0/assets/combo-entry-border.png differ -- cgit v1.2.3