]> git.0d.be Git - empathy.git/commitdiff
search-bar: make close button non-important stock gtk-close
authorJonny Lamb <jonnylamb@gnome.org>
Mon, 22 Aug 2011 15:25:49 +0000 (16:25 +0100)
committerJonny Lamb <jonnylamb@gnome.org>
Mon, 22 Aug 2011 15:26:47 +0000 (16:26 +0100)
This has the much nicer side-effect that if it gets thrown off the
side because it doesn't have enough room, the icon and label will be
shown in the expander.

Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
libempathy-gtk/empathy-search-bar.ui

index 0cb9f3c7bf61bdcecd50b2e58339f6587e75adbc..f6a615ede8693146ad8122128eec1b5008685dc9 100644 (file)
     <child>
       <object class="GtkToolButton" id="search_close">
         <property name="visible">True</property>
-        <property name="is_important">True</property>
-        <property name="receives_default">True</property>
-        <property name="icon_name">gtk-close</property>
+        <property name="is_important">False</property>
+        <property name="stock_id">gtk-close</property>
       </object>
       <packing>
         <property name="expand">False</property>