[meld/pathlabel] vcview: Reposition VC selection combo to the right of the action bar



commit 357518f348074a2615f131dfc88a10c3b15cfa8e
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Fri Sep 24 07:36:32 2021 +1000

    vcview: Reposition VC selection combo to the right of the action bar
    
    This selector is likely used by a very small subset of users, and with
    its repositioning to the middle of the action bar with the file label +
    selector, it had way too much prominence. It also had the visual effect
    of creating even more clutter on narrower windows because of the density
    of widget decoration + text in a small area.

 meld/resources/ui/vcview.ui | 41 ++++++++++++++++++++---------------------
 1 file changed, 20 insertions(+), 21 deletions(-)
---
diff --git a/meld/resources/ui/vcview.ui b/meld/resources/ui/vcview.ui
index 552f6924..d451a1a6 100644
--- a/meld/resources/ui/vcview.ui
+++ b/meld/resources/ui/vcview.ui
@@ -162,31 +162,30 @@
                 <property name="label" translatable="yes">File 1</property>
               </object>
             </child>
+          </object>
+        </child>
+        <child>
+          <object class="GtkComboBox" id="combobox_vcs">
+            <property name="visible">True</property>
+            <property name="can_focus">False</property>
+            <property name="model">liststore_vcs</property>
+            <property name="popup_fixed_width">False</property>
+            <signal name="changed" handler="on_vc_change" swapped="no"/>
             <child>
-              <object class="GtkComboBox" id="combobox_vcs">
-                <property name="visible">True</property>
-                <property name="can_focus">False</property>
-                <property name="model">liststore_vcs</property>
-                <property name="popup_fixed_width">False</property>
-                <signal name="changed" handler="on_vc_change" swapped="no"/>
-                <child>
-                  <object class="GtkCellRendererText">
-                    <property name="ellipsize">PANGO_ELLIPSIZE_END</property>
-                    <property name="width-chars">12</property>
-                    <property name="max-width-chars">30</property>
-                  </object>
-                  <attributes>
-                    <attribute name="text">0</attribute>
-                    <attribute name="sensitive">2</attribute>
-                  </attributes>
-                </child>
+              <object class="GtkCellRendererText">
+                <property name="ellipsize">PANGO_ELLIPSIZE_END</property>
+                <property name="width-chars">12</property>
+                <property name="max-width-chars">30</property>
               </object>
-              <packing>
-                <property name="expand">False</property>
-                <property name="fill">False</property>
-              </packing>
+              <attributes>
+                <attribute name="text">0</attribute>
+                <attribute name="sensitive">2</attribute>
+              </attributes>
             </child>
           </object>
+          <packing>
+            <property name="pack-type">GTK_PACK_END</property>
+          </packing>
         </child>
         <style>
           <class name="meld-actionbar"/>


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