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 From 2ca198985c2529e434f5ba5a129ce9a39828bbef Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Fri, 14 Oct 2016 20:43:05 +0200 Subject: gtk2: fix geany search combobox border (#674) --- common/gtk-2.0/apps.rc | 11 +++++------ 1 file changed, 5 insertions(+), 6 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 872e501..8dbf332 100644 --- a/common/gtk-2.0/apps.rc +++ b/common/gtk-2.0/apps.rc @@ -76,8 +76,7 @@ style "entry_border" { } } -style "combobox_entry_border" = "combobox_entry" -{ +style "combobox_entry_border" = "combobox_entry" { engine "pixmap" { @@ -87,7 +86,7 @@ style "combobox_entry_border" = "combobox_entry" state = NORMAL shadow = IN file = "assets/combo-entry-border.png" - border = { 4, 4, 5, 4 } + border = { 4, 4, 12, 12 } stretch = TRUE direction = LTR } @@ -97,7 +96,7 @@ style "combobox_entry_border" = "combobox_entry" detail = "entry" state = ACTIVE file = "assets/combo-entry-border-focus.png" - border = { 4, 4, 5, 4 } + border = { 4, 4, 12, 12 } stretch = TRUE direction = LTR } @@ -108,7 +107,7 @@ style "combobox_entry_border" = "combobox_entry" state = NORMAL shadow = IN file = "assets/combo-entry-border-rtl.png" - border = { 4, 4, 5, 4 } + border = { 4, 4, 12, 12 } stretch = TRUE direction = RTL } @@ -118,7 +117,7 @@ style "combobox_entry_border" = "combobox_entry" detail = "entry" state = ACTIVE file = "assets/combo-entry-border-focus-rtl.png" - border = { 4, 4, 5, 4 } + border = { 4, 4, 12, 12 } stretch = TRUE direction = RTL } -- cgit v1.2.3 From 7da711e12de1a3c7cf8e5b1cf91ce8899b4dd728 Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Thu, 15 Dec 2016 13:40:54 +0100 Subject: gtk2: fix thunar bulk rename entry (fix #707) --- common/gtk-2.0/apps.rc | 3 +++ 1 file changed, 3 insertions(+) (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 8dbf332..457542f 100644 --- a/common/gtk-2.0/apps.rc +++ b/common/gtk-2.0/apps.rc @@ -144,6 +144,9 @@ widget_class "*MousepadSearchBar*." style "entry_border" # Mousepad find and replace widget_class "*MousepadReplaceDialog*." style "entry_border" +# Thunar bulk rename +widget_class "*ThunarRenamerDialog*." style "entry_border" + # Hexchat input box class "SexySpellEntry" style:highest "entry_border" -- cgit v1.2.3