[meld] vcview.ui: Migrate to toolbar style



commit 7a8fffaa40e17590aa2600622a89aaa2918bf5e4
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Sat Feb 8 06:38:06 2014 +1000

    vcview.ui: Migrate to toolbar style

 data/ui/vcview.ui |   44 ++++++++++++++++++++++++++------------------
 1 files changed, 26 insertions(+), 18 deletions(-)
---
diff --git a/data/ui/vcview.ui b/data/ui/vcview.ui
index b443ed4..cadc22c 100644
--- a/data/ui/vcview.ui
+++ b/data/ui/vcview.ui
@@ -409,35 +409,43 @@
         <property name="visible">True</property>
         <property name="can_focus">False</property>
         <child>
-          <object class="GtkHBox" id="hbox2">
+          <object class="GtkToolbar" id="file_toolbar">
             <property name="visible">True</property>
             <property name="can_focus">False</property>
-            <property name="spacing">6</property>
+            <property name="show-arrow">False</property>
+            <property name="icon-size">1</property>
+            <style>
+              <class name="meld-notebook-toolbar"/>
+            </style>
             <child>
-              <object class="GtkFileChooserButton" id="fileentry">
+              <object class="GtkToolItem" id="fileentry_toolitem0">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
-                <property name="action">select-folder</property>
-                <signal name="file-set" handler="on_fileentry_file_set" swapped="no"/>
+                <property name="receives_default">False</property>
+                <child>
+                  <object class="GtkFileChooserButton" id="fileentry">
+                    <property name="visible">True</property>
+                    <property name="can_focus">False</property>
+                    <property name="action">select-folder</property>
+                    <signal name="file-set" handler="on_fileentry_file_set" swapped="no"/>
+                  </object>
+                </child>
               </object>
-              <packing>
-                <property name="expand">True</property>
-                <property name="fill">True</property>
-                <property name="position">0</property>
-              </packing>
             </child>
             <child>
-              <object class="GtkComboBox" id="combobox_vcs">
+              <object class="GtkToolItem" id="fileentry_toolitem1">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
-                <property name="model">liststore_vcs</property>
-                <signal name="changed" handler="on_vc_change" swapped="no"/>
+                <property name="receives_default">False</property>
+                <child>
+                  <object class="GtkComboBox" id="combobox_vcs">
+                    <property name="visible">True</property>
+                    <property name="can_focus">False</property>
+                    <property name="model">liststore_vcs</property>
+                    <signal name="changed" handler="on_vc_change" swapped="no"/>
+                  </object>
+                </child>
               </object>
-              <packing>
-                <property name="expand">False</property>
-                <property name="fill">True</property>
-                <property name="position">1</property>
-              </packing>
             </child>
           </object>
           <packing>


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