[gnome-control-center/wip/feborges/new-search-panel: 57/59] search: Move the gear button to the top of the panel



commit 3a0034b73a2afe46c138df94e4c5f25bab16c4d7
Author: Felipe Borges <felipeborges gnome org>
Date:   Sat Apr 29 12:25:32 2017 +0200

    search: Move the gear button to the top of the panel
    
    Also introduce panel usage instructions.
    
    These changes are according to the design guidelines available at
    https://wiki.gnome.org/Design/SystemSettings/Search
    
    https://bugzilla.gnome.org/show_bug.cgi?id=775958

 panels/search/search.ui |   62 +++++++++++++++++++++++++---------------------
 1 files changed, 34 insertions(+), 28 deletions(-)
---
diff --git a/panels/search/search.ui b/panels/search/search.ui
index 8e72e36..adf6111 100644
--- a/panels/search/search.ui
+++ b/panels/search/search.ui
@@ -12,6 +12,39 @@
         <property name="margin-top">22</property>
         <property name="margin-bottom">22</property>
         <child>
+          <object class="GtkBox">
+            <property name="visible">True</property>
+            <property name="margin-bottom">22</property>
+            <child>
+              <object class="GtkLabel">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="wrap">True</property>
+                <property name="max-width-chars">55</property>
+                <property name="label" translatable="yes">Move items to change the order of search results 
in the Activities Overview</property>
+              </object>
+            </child>
+            <child>
+              <object class="GtkButton" id="settings_button">
+                <property name="visible">True</property>
+                <property name="valign">center</property>
+                <child internal-child="accessible">
+                  <object class="AtkObject" id="settings_button_a11y">
+                    <property name="accessible-name" translatable="yes">Preferences</property>
+                  </object>
+                </child>
+                <child>
+                  <object class="GtkImage" id="settings_image">
+                    <property name="visible">True</property>
+                    <property name="icon-name">emblem-system-symbolic</property>
+                    <property name="icon-size">1</property>
+                  </object>
+                </child>
+              </object>
+            </child>
+          </object>
+        </child>
+        <child>
           <object class="GtkFrame" id="search_frame">
             <property name="visible">True</property>
           </object>
@@ -79,38 +112,11 @@
                 <property name="expand">True</property>
               </packing>
             </child>
-            <child>
-              <object class="GtkToolItem" id="settings_item">
-                <property name="visible">True</property>
-                <child>
-                  <object class="GtkBox" id="i_s_ud_box">
-                    <property name="visible">True</property>
-                    <child>
-                       <object class="GtkButton" id="settings_button">
-                         <property name="visible">True</property>
-                         <child internal-child="accessible">
-                           <object class="AtkObject" id="settings_button_a11y">
-                             <property name="accessible-name" translatable="yes">Preferences</property>
-                           </object>
-                         </child>
-                         <child>
-                            <object class="GtkImage" id="settings_image">
-                              <property name="visible">True</property>
-                              <property name="icon-name">emblem-system-symbolic</property>
-                              <property name="icon-size">1</property>
-                            </object>
-                         </child>
-                       </object>
-                    </child>
-                  </object>
-                </child>
-              </object>
-            </child>
           </object>
           <packing>
             <property name="expand">False</property>
             <property name="fill">True</property>
-            <property name="position">1</property>
+            <property name="position">2</property>
           </packing>
         </child>
       </object>


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