[virt-tools-list] [virt-manager PATCHv2 07/13] Remove deprecated GtkMisc:xpad property
Radostin Stoyanov
rstoyanov1 at gmail.com
Wed May 31 13:08:37 UTC 2017
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.
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
More information about the virt-tools-list
mailing list