[empathy: 2/5] search-bar: make close button non-important stock gtk-close



commit 64e2c818c7faead9671d959a87d60ce92c082ab1
Author: Jonny Lamb <jonnylamb gnome org>
Date:   Mon Aug 22 16:25:49 2011 +0100

    search-bar: make close button non-important stock gtk-close
    
    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 |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/libempathy-gtk/empathy-search-bar.ui b/libempathy-gtk/empathy-search-bar.ui
index 0cb9f3c..f6a615e 100644
--- a/libempathy-gtk/empathy-search-bar.ui
+++ b/libempathy-gtk/empathy-search-bar.ui
@@ -119,9 +119,8 @@
     <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>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]