[gnome-control-center] search: Use header bar in the location dialog



commit 732f8d5a9ba4ad1a4acfb1107792f478ff42358b
Author: Yosef Or Boczko <yoseforb src gnome org>
Date:   Thu Feb 13 17:01:06 2014 +0200

    search: Use header bar in the location dialog
    
    https://bugzilla.gnome.org/show_bug.cgi?id=724299

 panels/search/search-locations-dialog.ui |   30 +-----------------------------
 1 files changed, 1 insertions(+), 29 deletions(-)
---
diff --git a/panels/search/search-locations-dialog.ui b/panels/search/search-locations-dialog.ui
index da39816..ad15d00 100644
--- a/panels/search/search-locations-dialog.ui
+++ b/panels/search/search-locations-dialog.ui
@@ -8,37 +8,12 @@
     <property name="modal">True</property>
     <property name="title" translatable="yes">Search Locations</property>
     <property name="type_hint">dialog</property>
+    <property name="use_header_bar">1</property>
     <child internal-child="vbox">
       <object class="GtkBox" id="dialog-vbox1">
         <property name="can_focus">False</property>
         <property name="orientation">vertical</property>
         <property name="spacing">2</property>
-        <child internal-child="action_area">
-          <object class="GtkButtonBox" id="dialog-action_area1">
-            <property name="can_focus">False</property>
-            <property name="layout_style">end</property>
-            <child>
-              <object class="GtkButton" id="locations_close_button">
-                <property name="label">gtk-close</property>
-                <property name="visible">True</property>
-                <property name="can_focus">True</property>
-                <property name="receives_default">True</property>
-                <property name="use_stock">True</property>
-              </object>
-              <packing>
-                <property name="expand">False</property>
-                <property name="fill">True</property>
-                <property name="position">1</property>
-              </packing>
-            </child>
-          </object>
-          <packing>
-            <property name="expand">False</property>
-            <property name="fill">True</property>
-            <property name="pack_type">end</property>
-            <property name="position">0</property>
-          </packing>
-        </child>
         <child>
           <object class="GtkBox" id="locations_main_box">
             <property name="visible">True</property>
@@ -109,8 +84,5 @@
         </child>
       </object>
     </child>
-    <action-widgets>
-      <action-widget response="0">locations_close_button</action-widget>
-    </action-widgets>
   </object>
 </interface>


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