[virt-manager PATCH 5/8] GtkMisc:xpad

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

 



GtkMisc:xpad was deprecated since Gtk version 3.14 and should not be used in newly-written code.

Use margin-start and margin-end instead. Both have default value set to 0.

https://developer.gnome.org/gtk3/stable/GtkMisc.html#GtkMisc--xpad
https://developer.gnome.org/gtk3/stable/GtkWidget.html#GtkWidget--margin-start
https://developer.gnome.org/gtk3/stable/GtkWidget.html#GtkWidget--margin-end
---
 ui/addhardware.ui | 6 ++++--
 ui/asyncjob.ui    | 9 ++++++---
 ui/createnet.ui   | 6 ++++--
 3 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/ui/addhardware.ui b/ui/addhardware.ui
index 0350240..7f10e17 100644
--- a/ui/addhardware.ui
+++ b/ui/addhardware.ui
@@ -83,7 +83,8 @@
                         <property name="can_focus">False</property>
                         <property name="halign">start</property>
                         <property name="valign">start</property>
-                        <property name="xpad">6</property>
+                        <property name="margin_start">6</property>
+                        <property name="margin_end">6</property>
                         <property name="ypad">6</property>
                         <property name="label">Page title</property>
                         <property name="use_markup">True</property>
@@ -684,7 +685,8 @@
                                 <property name="visible">True</property>
                                 <property name="can_focus">False</property>
                                 <property name="halign">start</property>
-                                <property name="xpad">1</property>
+                                <property name="margin_start">1</property>
+                                <property name="margin_end">1</property>
                                 <property name="label" translatable="yes">Host _Device:</property>
                                 <property name="use_underline">True</property>
                                 <property name="mnemonic_widget">host-device</property>
diff --git a/ui/asyncjob.ui b/ui/asyncjob.ui
index bbfe07f..8494fe2 100644
--- a/ui/asyncjob.ui
+++ b/ui/asyncjob.ui
@@ -30,7 +30,8 @@
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <property name="valign">start</property>
-                <property name="xpad">3</property>
+                <property name="margin_start">3</property>
+                <property name="margin_end">3</property>
                 <property name="ypad">10</property>
                 <property name="stock">gtk-dialog-info</property>
                 <property name="icon_size">6</property>
@@ -73,7 +74,8 @@
               <object class="GtkImage" id="warning-icon">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
-                <property name="xpad">3</property>
+                <property name="margin_start">3</property>
+                <property name="margin_end">3</property>
                 <property name="stock">gtk-dialog-warning</property>
               </object>
               <packing>
@@ -111,7 +113,8 @@
             <property name="can_focus">False</property>
             <property name="halign">start</property>
             <property name="valign">start</property>
-            <property name="xpad">3</property>
+            <property name="margin_start">3</property>
+            <property name="margin_end">3</property>
             <property name="ypad">3</property>
             <property name="label" translatable="yes">Processing...</property>
           </object>
diff --git a/ui/createnet.ui b/ui/createnet.ui
index 21b1db5..1fe94ec 100644
--- a/ui/createnet.ui
+++ b/ui/createnet.ui
@@ -360,7 +360,8 @@
                                         <property name="visible">True</property>
                                         <property name="can_focus">False</property>
                                         <property name="valign">start</property>
-                                        <property name="xpad">3</property>
+                                        <property name="margin_start">3</property>
+                                        <property name="margin_end">3</property>
                                         <property name="ypad">3</property>
                                         <property name="stock">gtk-dialog-info</property>
                                       </object>
@@ -778,7 +779,8 @@
                                         <property name="visible">True</property>
                                         <property name="can_focus">False</property>
                                         <property name="valign">start</property>
-                                        <property name="xpad">3</property>
+                                        <property name="margin_start">3</property>
+                                        <property name="margin_end">3</property>
                                         <property name="ypad">3</property>
                                         <property name="stock">gtk-dialog-info</property>
                                       </object>
-- 
2.9.4

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list



[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux