From 5860bf589ebbefa69fee1466698c9b7a2ed9d33b Mon Sep 17 00:00:00 2001 From: Andrea Zagli Date: Sun, 1 May 2011 09:30:55 +0200 Subject: [PATCH] Bugfix and Glade catalog for GtkFormDecoder. --- ui/glade/gtkformui.xml | 3 +++ .../actions/widget-gtkformui-gtkformdecoder.png | Bin 164 -> 225 bytes .../actions/widget-gtkformui-gtkformdecoder.png | Bin 177 -> 258 bytes ui/gtkformdecoder.c | 6 +++--- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ui/glade/gtkformui.xml b/ui/glade/gtkformui.xml index 48be43e..9ef0829 100644 --- a/ui/glade/gtkformui.xml +++ b/ui/glade/gtkformui.xml @@ -4,6 +4,9 @@ + + + diff --git a/ui/glade/icons/hicolor/16x16/actions/widget-gtkformui-gtkformdecoder.png b/ui/glade/icons/hicolor/16x16/actions/widget-gtkformui-gtkformdecoder.png index ec4e622ff3796a561a8957ebd06a1316d06ec333..9796233187884bf4dd8cfdaf861354ff82c914eb 100644 GIT binary patch delta 197 zcmZ3&_>ggeNGZx^prw85kJYlDyqrfHV;NblzPLq&N#aB8wRqxP?KOkzv*x z37{Z*iKnkC`)yW6b}50JB|*tRp+rv?#}JFtZzt{MZ7|?*nXg>7$HyV9iPtElNTh>L z>7!<4@9c8*(?);xsHvPiU{v6>wsh|Yu1Pj_PLmpg{U=?%d^I|o;f`Jhhf>qM-YsIMg+{WgSq5qyw{~xmF2$}d8ENqw;1+NXYlIw$K0o002ovPDHLkU;%AHlvP&CZzabO=6l(HxaSX9I{dUqt&I1Yp&Wp=f)4PSQ$cty07i^pD zxIX@`fX-8mFQ?gs0))>gY>4>Nro5Bcf@fY#e70?Tjiky|CQnv|Nm@#mU4#B!S8o?s z_S<>Gs#(tSZEgqbC|>s9+O5Yo4GQ1ijdATMT;;ss`?piBDXXL#<^&nlZjbiXJbrra b(MSAxN51ATUT|^@1G(GN)z4*}Q$iB}8va&c delta 149 zcmV;G0BZk&0MZe+-&i0+4UR=m-;A|NpJqfiGL=;ax z2uUFMBq6}zunj}<0+0uKVkzbB^hJ==5lAWkkW>-*HIizZ@r_w_3O6g@y>D_60RY%p z;VSfv-HNr}f|X`sRb6`H7(y6&x9U?$xl?mE?BD_Etxt_decoded), GTK_ENTRY_ICON_SECONDARY, "gtk-clear"); - gtk_entry_set_icon_activatable (GTK_ENTRY (priv->txt_decoded), GTK_ENTRY_ICON_SECONDARY, TRUE); - gtk_entry_set_icon_sensitive (GTK_ENTRY (priv->txt_decoded), GTK_ENTRY_ICON_SECONDARY, TRUE); + gtk_entry_set_icon_from_stock (GTK_ENTRY (priv->txt_decoded), GTK_ENTRY_ICON_SECONDARY, visible ? "gtk-clear" : NULL); + gtk_entry_set_icon_activatable (GTK_ENTRY (priv->txt_decoded), GTK_ENTRY_ICON_SECONDARY, visible); + gtk_entry_set_icon_sensitive (GTK_ENTRY (priv->txt_decoded), GTK_ENTRY_ICON_SECONDARY, visible); } /* CALLBACKS */ -- 2.49.0