]> granicus.if.org Git - handbrake/commitdiff
LinGui: make all the preset menus consistent
authorJohn Stebbins <jstebbins.hb@gmail.com>
Fri, 22 Dec 2017 22:49:28 +0000 (14:49 -0800)
committerJohn Stebbins <jstebbins.hb@gmail.com>
Fri, 22 Dec 2017 22:49:48 +0000 (14:49 -0800)
gtk/src/callbacks.c
gtk/src/ghb.m4

index 1ab846b63fc2ec4841aedfb02d9fcc0f9cff852c..b31cca978890352fd0be51950c5bff634920f2f6 100644 (file)
@@ -1862,8 +1862,6 @@ ghb_update_summary_info(signal_user_data_t *ud)
         gtk_label_set_text(GTK_LABEL(widget), "");
         widget = GHB_WIDGET(ud->builder, "dimensions_summary");
         gtk_label_set_text(GTK_LABEL(widget), "--");
-        widget = GHB_WIDGET(ud->builder, "aspect_summary");
-        gtk_label_set_text(GTK_LABEL(widget), "--");
         widget = GHB_WIDGET(ud->builder, "preview_button_image");
         gtk_image_set_from_icon_name(GTK_IMAGE(widget), "hb-icon", 128);
         return;
index 21fdf36dc1dc67c8eaebfb1b69715fc6aaad48f8..54b17034ed8d383585008f9b6efaa6e27993f244 100644 (file)
@@ -161,6 +161,20 @@ conjunction with the "Forced" option.</property>
                   <object class="GtkMenu" id="presets_window_submenu">
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
+                    <child>
+                      <object class="GtkMenuItem" id="presets_window_default">
+                        <property name="label" translatable="yes">Set De_fault</property>
+                        <property name="visible">True</property>
+                        <property name="can_focus">False</property>
+                        <property name="use_underline">True</property>
+                        <property name="action-name">app.preset-default</property>
+                      </object>
+                    </child>
+                    <child>
+                      <object class="GtkSeparatorMenuItem" id="presets_window_sep1">
+                        <property name="visible">True</property>
+                      </object>
+                    </child>
                     <child>
                       <object class="GtkMenuItem" id="presets_window_save">
                         <property name="label" translatable="yes">_Save</property>
@@ -198,12 +212,8 @@ conjunction with the "Forced" option.</property>
                       </object>
                     </child>
                     <child>
-                      <object class="GtkMenuItem" id="presets_window_default">
-                        <property name="label" translatable="yes">Set De_fault</property>
+                      <object class="GtkSeparatorMenuItem" id="presets_window_sep2">
                         <property name="visible">True</property>
-                        <property name="can_focus">False</property>
-                        <property name="use_underline">True</property>
-                        <property name="action-name">app.preset-default</property>
                       </object>
                     </child>
                     <child>
@@ -224,6 +234,11 @@ conjunction with the "Forced" option.</property>
                         <property name="action-name">app.preset-export</property>
                       </object>
                     </child>
+                    <child>
+                      <object class="GtkSeparatorMenuItem" id="presets_window_sep3">
+                        <property name="visible">True</property>
+                      </object>
+                    </child>
                     <child>
                       <object class="GtkMenuItem" id="presets_window_restore">
                         <property name="label" translatable="yes">Reset _Built-in Presets</property>
@@ -982,6 +997,20 @@ libx264 authors:
                   <object class="GtkMenu" id="presets_submenu">
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
+                    <child>
+                      <object class="GtkMenuItem" id="presets_default">
+                        <property name="label" translatable="yes">Set De_fault</property>
+                        <property name="visible">True</property>
+                        <property name="can_focus">False</property>
+                        <property name="use_underline">True</property>
+                        <property name="action-name">app.preset-default</property>
+                      </object>
+                    </child>
+                    <child>
+                      <object class="GtkSeparatorMenuItem" id="presets_sep1">
+                        <property name="visible">True</property>
+                      </object>
+                    </child>
                     <child>
                       <object class="GtkMenuItem" id="presets_save">
                         <property name="label" translatable="yes">_Save</property>
@@ -1019,12 +1048,8 @@ libx264 authors:
                       </object>
                     </child>
                     <child>
-                      <object class="GtkMenuItem" id="presets_default">
-                        <property name="label" translatable="yes">Set De_fault</property>
+                      <object class="GtkSeparatorMenuItem" id="presets_sep2">
                         <property name="visible">True</property>
-                        <property name="can_focus">False</property>
-                        <property name="use_underline">True</property>
-                        <property name="action-name">app.preset-default</property>
                       </object>
                     </child>
                     <child>
@@ -1045,6 +1070,11 @@ libx264 authors:
                         <property name="action-name">app.preset-export</property>
                       </object>
                     </child>
+                    <child>
+                      <object class="GtkSeparatorMenuItem" id="presets_sep3">
+                        <property name="visible">True</property>
+                      </object>
+                    </child>
                     <child>
                       <object class="GtkMenuItem" id="presets_restore">
                         <property name="label" translatable="yes">Reset _Built-in Presets</property>