[gnome-control-center/single-window-shell: 5/9] [shell] increase the padding around the toolbar



commit 0305603d1ffc6274f52cef2de9b7525b2646984a
Author: Thomas Wood <thomas wood intel com>
Date:   Wed Dec 2 16:22:15 2009 +0000

    [shell] increase the padding around the toolbar
    
    Since we want the button borders to be visible all the time (unlike normal
    toolbar buttons) we should add some extra spacing around them to prevent
    too much visual noise against the toolbar border.

 shell/shell.ui |   99 ++++++++++++++++++++++++++-----------------------------
 1 files changed, 47 insertions(+), 52 deletions(-)
---
diff --git a/shell/shell.ui b/shell/shell.ui
index b05765a..aae638f 100644
--- a/shell/shell.ui
+++ b/shell/shell.ui
@@ -13,66 +13,61 @@
           <object class="GtkToolbar" id="toolbar1">
             <property name="visible">True</property>
             <child>
-              <object class="GtkToolItem" id="home-button1">
-                <property name="visible">True</property>
-                <property name="is_important">True</property>
-                <child>
-                  <object class="GtkButton" id="home-button">
-                    <property name="label" translatable="yes">Settings</property>
-                    <property name="visible">True</property>
-                    <property name="can_focus">True</property>
-                    <property name="receives_default">True</property>
-                  </object>
-                </child>
-              </object>
-              <packing>
-                <property name="expand">False</property>
-              </packing>
-            </child>
-            <child>
-              <object class="GtkToolItem" id="toolbutton3">
-                <property name="visible">True</property>
-                <child>
-                  <object class="GtkArrow" id="arrow">
-                    <property name="no_show_all">True</property>
-                  </object>
-                </child>
-              </object>
-              <packing>
-                <property name="expand">False</property>
-              </packing>
-            </child>
-            <child>
-              <object class="GtkToolItem" id="toolbutton2">
-                <property name="visible">True</property>
-                <child>
-                  <object class="GtkLabel" id="applet-label">
-                    <property name="no_show_all">True</property>
-                    <property name="label" translatable="yes">Applet</property>
-                  </object>
-                </child>
-              </object>
-              <packing>
-                <property name="expand">False</property>
-              </packing>
-            </child>
-            <child>
               <object class="GtkToolItem" id="toolbutton1">
                 <property name="visible">True</property>
                 <child>
-                  <object class="GtkAlignment" id="alignment1">
+                  <object class="GtkHBox" id="hbox1">
                     <property name="visible">True</property>
-                    <property name="xalign">1</property>
-                    <property name="xscale">0</property>
+                    <property name="border_width">3</property>
                     <child>
-                      <object class="GtkEntry" id="search-entry">
-                        <property name="width_request">210</property>
+                      <object class="GtkButton" id="home-button">
+                        <property name="label" translatable="yes">Settings</property>
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
-                        <property name="is_focus">True</property>
-                        <property name="invisible_char">&#x25CF;</property>
-                        <property name="text" translatable="yes">Type to search your settings</property>
+                        <property name="receives_default">True</property>
+                      </object>
+                      <packing>
+                        <property name="expand">False</property>
+                        <property name="position">0</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <object class="GtkArrow" id="arrow">
+                        <property name="no_show_all">True</property>
+                      </object>
+                      <packing>
+                        <property name="expand">False</property>
+                        <property name="position">1</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <object class="GtkLabel" id="applet-label">
+                        <property name="no_show_all">True</property>
+                        <property name="label" translatable="yes">Applet</property>
+                      </object>
+                      <packing>
+                        <property name="expand">False</property>
+                        <property name="position">2</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <object class="GtkAlignment" id="alignment1">
+                        <property name="visible">True</property>
+                        <property name="xalign">1</property>
+                        <property name="xscale">0</property>
+                        <child>
+                          <object class="GtkEntry" id="search-entry">
+                            <property name="width_request">210</property>
+                            <property name="visible">True</property>
+                            <property name="can_focus">True</property>
+                            <property name="invisible_char">&#x25CF;</property>
+                            <property name="text" translatable="yes">Type to search your settings</property>
+                          </object>
+                        </child>
                       </object>
+                      <packing>
+                        <property name="position">3</property>
+                      </packing>
                     </child>
                   </object>
                 </child>



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