[eog: 2/3] Remove the deprecated internal-children action_area and use action element for buttons




commit 450f87b8d8df70c8a55a1c3aaa01e2dce8268136
Author: Krifa75 <yahiaoui fakhri gmail com>
Date:   Thu Mar 10 21:42:02 2022 +0100

    Remove the deprecated internal-children action_area and use action element for buttons

 data/eog-multiple-save-as-dialog.ui | 61 ++++++++++++-------------------------
 1 file changed, 19 insertions(+), 42 deletions(-)
---
diff --git a/data/eog-multiple-save-as-dialog.ui b/data/eog-multiple-save-as-dialog.ui
index 70b1fc49..f3da3068 100644
--- a/data/eog-multiple-save-as-dialog.ui
+++ b/data/eog-multiple-save-as-dialog.ui
@@ -22,48 +22,6 @@
         <property name="can_focus">False</property>
         <property name="orientation">vertical</property>
         <property name="spacing">2</property>
-        <child internal-child="action_area">
-          <object class="GtkButtonBox" id="dialog-action_area4">
-            <property name="visible">True</property>
-            <property name="can_focus">False</property>
-            <property name="layout_style">end</property>
-            <child>
-              <object class="GtkButton" id="cancel_button">
-                <property name="label" translatable="yes">_Cancel</property>
-                <property name="visible">True</property>
-                <property name="can_focus">True</property>
-                <property name="receives_default">False</property>
-                <property name="use_underline">True</property>
-              </object>
-              <packing>
-                <property name="expand">False</property>
-                <property name="fill">True</property>
-                <property name="position">0</property>
-              </packing>
-            </child>
-            <child>
-              <object class="GtkButton" id="save_as_button">
-                <property name="label" translatable="yes">Save _As</property>
-                <property name="visible">True</property>
-                <property name="can_focus">True</property>
-                <property name="receives_default">False</property>
-                <property name="use_underline">True</property>
-                <property name="image_position">right</property>
-              </object>
-              <packing>
-                <property name="expand">False</property>
-                <property name="fill">True</property>
-                <property name="position">1</property>
-              </packing>
-            </child>
-          </object>
-          <packing>
-            <property name="expand">False</property>
-            <property name="fill">True</property>
-            <property name="pack_type">end</property>
-            <property name="position">0</property>
-          </packing>
-        </child>
         <child>
           <object class="GtkBox" id="vbox1">
             <property name="visible">True</property>
@@ -425,6 +383,25 @@
         </child>
       </object>
     </child>
+    <child type="action">
+      <object class="GtkButton" id="cancel_button">
+        <property name="label" translatable="yes">_Cancel</property>
+        <property name="visible">True</property>
+        <property name="can_focus">True</property>
+        <property name="receives_default">False</property>
+        <property name="use_underline">True</property>
+      </object>
+    </child>
+    <child type="action">
+      <object class="GtkButton" id="save_as_button">
+        <property name="label" translatable="yes">Save _As</property>
+        <property name="visible">True</property>
+        <property name="can_focus">True</property>
+        <property name="receives_default">False</property>
+        <property name="use_underline">True</property>
+        <property name="image_position">right</property>
+      </object>
+    </child>
     <action-widgets>
       <action-widget response="-6">cancel_button</action-widget>
       <action-widget response="-5">save_as_button</action-widget>


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