[gnome-disk-utility] format-disk-dialog: Replace deprecated properties



commit 8d6176a15d14e5d2c99aec21b4307730b83e0a5c
Author: Maximiliano Sandoval R <msandova gnome org>
Date:   Tue Oct 12 14:33:21 2021 +0200

    format-disk-dialog: Replace deprecated properties

 src/disks/ui/format-disk-dialog.ui | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)
---
diff --git a/src/disks/ui/format-disk-dialog.ui b/src/disks/ui/format-disk-dialog.ui
index 3e976e06..f876c18b 100644
--- a/src/disks/ui/format-disk-dialog.ui
+++ b/src/disks/ui/format-disk-dialog.ui
@@ -3,41 +3,38 @@
   <!-- interface-requires gtk+ 3.0 -->
   <object class="GtkDialog" id="format-disk-dialog">
     <property name="can_focus">False</property>
-    <property name="border_width">12</property>
     <property name="title" translatable="yes">Format Disk</property>
     <property name="resizable">False</property>
     <property name="modal">True</property>
     <property name="destroy_with_parent">True</property>
-    <property name="type_hint">dialog</property>
     <child internal-child="vbox">
       <object class="GtkBox" id="dialog-vbox1">
         <property name="can_focus">False</property>
         <property name="orientation">vertical</property>
         <property name="spacing">12</property>
+        <property name="margin_top">12</property>
+        <property name="margin_bottom">12</property>
+        <property name="margin_start">12</property>
+        <property name="margin_end">12</property>
         <child internal-child="action_area">
           <object class="GtkButtonBox" id="dialog-action_area1">
             <property name="can_focus">False</property>
-            <property name="layout_style">end</property>
             <child>
               <object class="GtkButton" id="button1">
-                <property name="label">gtk-cancel</property>
-                <property name="use_action_appearance">False</property>
+                <property name="label" translatable="yes">_Cancel</property>
+                <property name="use_underline">True</property>
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
                 <property name="receives_default">True</property>
-                <property name="use_action_appearance">False</property>
-                <property name="use_stock">True</property>
               </object>
             </child>
             <child>
               <object class="GtkButton" id="button2">
                 <property name="label" translatable="yes">_Format…</property>
-                <property name="use_action_appearance">False</property>
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
                 <property name="can_default">True</property>
                 <property name="receives_default">True</property>
-                <property name="use_action_appearance">False</property>
                 <property name="use_underline">True</property>
               </object>
             </child>


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