]> granicus.if.org Git - handbrake/commitdiff
LinGui: gtk4 port, minimize appearence of tool bar separators
authorJohn Stebbins <jstebbins.hb@gmail.com>
Mon, 29 Jul 2019 22:39:33 +0000 (15:39 -0700)
committerJohn Stebbins <jstebbins.hb@gmail.com>
Mon, 29 Jul 2019 22:39:33 +0000 (15:39 -0700)
These are not supposed to be visible, but gtk4 is not respecting the
"draw" property of GtkSeparatorToolItem.  When this is fixed, I can
restore proper spacing between "Open Source" and "Add To Queue" toolbar
buttons.

gtk/src/ghb4.ui

index d90ac98dfe2d68dbe0bc1bf4b899d418c4510a85..d71f71f5a063a537441db95209d0bd309cb3f4d6 100644 (file)
@@ -353,7 +353,7 @@ conjunction with the "Forced" option.</property>
             <property name="position">500</property>
             <property name="can_focus">False</property>
             <property name="shrink-child1">False</property>
-            <property name="shrink-child2">False</property>
+            <property name="shrink-child2">True</property>
             <child>
               <object class="GtkBox" id="queue_box2">
                 <property name="orientation">vertical</property>
@@ -390,18 +390,6 @@ conjunction with the "Forced" option.</property>
                         <property name="homogeneous">True</property>
                       </object>
                     </child>
-                    <child>
-                      <object class="GtkSeparatorToolItem" id="queue_list_tool_sep1">
-                        <property name="visible">True</property>
-                        <property name="draw">False</property>
-                        <property name="hexpand">True</property>
-                        <property name="halign">GTK_ALIGN_FILL</property>
-                        <property name="vexpand">False</property>
-                        <property name="valign">GTK_ALIGN_FILL</property>
-                        <property name="hexpand">True</property>
-                        <property name="homogeneous">False</property>
-                      </object>
-                    </child>
                     <child>
                       <object class="GtkToolItem" id="queue_list_options">
                         <property name="visible">True</property>
@@ -1987,7 +1975,11 @@ libx264 authors:
                 <child>
                   <object class="GtkSeparatorToolItem" id="main_tool_sep2">
                     <property name="visible">True</property>
+<!--
                     <property name="width-request">60</property>
+-->
+                    <property name="hexpand">True</property>
+                    <property name="halign">center</property>
                     <property name="draw">False</property>
                     <property name="homogeneous">False</property>
                   </object>
@@ -2033,7 +2025,7 @@ libx264 authors:
                     <property name="visible">True</property>
                     <property name="draw">False</property>
                     <property name="expand">True</property>
-                    <property name="halign">GTK_ALIGN_FILL</property>
+                    <property name="halign">center</property>
                     <property name="homogeneous">False</property>
                   </object>
                 </child>