[virt-tools-list] [virt-manager PATCHv2 05/13] Remove redundant xalign property
Radostin Stoyanov
rstoyanov1 at gmail.com
Wed May 31 13:08:35 UTC 2017
GtkAlignment:xalign was deprecated since Gtk version 3.14 and should
not be used in newly-written code. Specifying halign property is not
required when xalign='0.5' because the behaviour is identical to the
default value of halign.
https://developer.gnome.org/gtk3/stable/GtkAlignment.html#GtkAlignment--xalign
https://developer.gnome.org/gtk3/stable/GtkWidget.html#GtkWidget--halign
---
ui/addhardware.ui | 1 -
ui/choosecd.ui | 2 --
ui/clone.ui | 1 -
ui/connect.ui | 2 --
ui/create.ui | 5 -----
ui/createinterface.ui | 5 -----
ui/createnet.ui | 2 --
ui/details.ui | 3 ---
ui/fsdetails.ui | 1 -
ui/host.ui | 1 -
ui/preferences.ui | 7 -------
11 files changed, 30 deletions(-)
diff --git a/ui/addhardware.ui b/ui/addhardware.ui
index c22e000..80be23a 100644
--- a/ui/addhardware.ui
+++ b/ui/addhardware.ui
@@ -753,7 +753,6 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
- <property name="xalign">0.5</property>
<property name="draw_indicator">True</property>
</object>
<packing>
diff --git a/ui/choosecd.ui b/ui/choosecd.ui
index 0a6f697..bfb9b5b 100644
--- a/ui/choosecd.ui
+++ b/ui/choosecd.ui
@@ -131,7 +131,6 @@
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
- <property name="xalign">0.5</property>
<property name="active">True</property>
<property name="draw_indicator">True</property>
<signal name="toggled" handler="on_media_toggled" swapped="no"/>
@@ -157,7 +156,6 @@
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
- <property name="xalign">0.5</property>
<property name="draw_indicator">True</property>
<property name="group">physical-media</property>
<signal name="toggled" handler="on_media_toggled" swapped="no"/>
diff --git a/ui/clone.ui b/ui/clone.ui
index f307cce..e451811 100644
--- a/ui/clone.ui
+++ b/ui/clone.ui
@@ -1058,7 +1058,6 @@ like change passwords or static IPs, please see the virt-sysprep(1) tool.</sp
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
- <property name="xalign">0.5</property>
<property name="draw_indicator">True</property>
<signal name="toggled" handler="on_change_storage_doclone_toggled" swapped="no"/>
</object>
diff --git a/ui/connect.ui b/ui/connect.ui
index 7e9660f..5fcc6d8 100644
--- a/ui/connect.ui
+++ b/ui/connect.ui
@@ -165,7 +165,6 @@
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
- <property name="xalign">0.5</property>
<property name="draw_indicator">True</property>
<signal name="toggled" handler="on_connect_remote_toggled" swapped="no"/>
</object>
@@ -195,7 +194,6 @@
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
- <property name="xalign">0.5</property>
<property name="draw_indicator">True</property>
</object>
<packing>
diff --git a/ui/create.ui b/ui/create.ui
index 82d9ea8..f25ea42 100644
--- a/ui/create.ui
+++ b/ui/create.ui
@@ -817,7 +817,6 @@ bar</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
- <property name="xalign">0.5</property>
<property name="active">True</property>
<property name="draw_indicator">True</property>
<signal name="toggled" handler="on_install_cdrom_radio_toggled" swapped="no"/>
@@ -857,7 +856,6 @@ bar</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
- <property name="xalign">0.5</property>
<property name="active">True</property>
<property name="draw_indicator">True</property>
<property name="group">install-cdrom-radio</property>
@@ -1811,7 +1809,6 @@ is not yet supported.</small></property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
- <property name="xalign">0.5</property>
<property name="active">True</property>
<property name="draw_indicator">True</property>
<signal name="toggled" handler="on_install_detect_os_toggled" swapped="no"/>
@@ -2253,7 +2250,6 @@ is not yet supported.</small></property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
- <property name="xalign">0.5</property>
<property name="active">True</property>
<property name="draw_indicator">True</property>
<signal name="toggled" handler="on_enable_storage_toggled" swapped="no"/>
@@ -2378,7 +2374,6 @@ is not yet supported.</small></property>
<property name="valign">start</property>
<property name="vexpand">False</property>
<property name="use_underline">True</property>
- <property name="xalign">0.5</property>
<property name="draw_indicator">True</property>
</object>
<packing>
diff --git a/ui/createinterface.ui b/ui/createinterface.ui
index 8615081..48c7a98 100644
--- a/ui/createinterface.ui
+++ b/ui/createinterface.ui
@@ -112,7 +112,6 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
- <property name="xalign">0.5</property>
<property name="draw_indicator">True</property>
</object>
<packing>
@@ -1118,7 +1117,6 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
- <property name="xalign">0.5</property>
<property name="draw_indicator">True</property>
</object>
<packing>
@@ -1597,7 +1595,6 @@
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
- <property name="xalign">0.5</property>
<property name="active">True</property>
<property name="draw_indicator">True</property>
<property name="group">ip-do-manual</property>
@@ -1662,7 +1659,6 @@
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
- <property name="xalign">0.5</property>
<property name="active">True</property>
<property name="draw_indicator">True</property>
</object>
@@ -1893,7 +1889,6 @@
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
- <property name="xalign">0.5</property>
<property name="draw_indicator">True</property>
</object>
<packing>
diff --git a/ui/createnet.ui b/ui/createnet.ui
index 55b2b7f..da2945f 100644
--- a/ui/createnet.ui
+++ b/ui/createnet.ui
@@ -281,7 +281,6 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
- <property name="xalign">0.5</property>
<property name="draw_indicator">True</property>
<signal name="toggled" handler="on_net-ipv4-enable_toggled" swapped="no"/>
</object>
@@ -700,7 +699,6 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
- <property name="xalign">0.5</property>
<property name="draw_indicator">True</property>
<signal name="toggled" handler="on_net-ipv6-enable_toggled" swapped="no"/>
</object>
diff --git a/ui/details.ui b/ui/details.ui
index bbad52a..fc796a2 100644
--- a/ui/details.ui
+++ b/ui/details.ui
@@ -2298,7 +2298,6 @@ if you know what you are doing.</small></property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
- <property name="xalign">0.5</property>
<property name="active">True</property>
<property name="draw_indicator">True</property>
<signal name="toggled" handler="on_cpu_topology_enable_toggled" swapped="no"/>
@@ -2761,7 +2760,6 @@ if you know what you are doing.</small></property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
- <property name="xalign">0.5</property>
<property name="draw_indicator">True</property>
<signal name="toggled" handler="on_boot_autostart_changed" swapped="no"/>
</object>
@@ -3399,7 +3397,6 @@ if you know what you are doing.</small></property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
- <property name="xalign">0.5</property>
<property name="draw_indicator">True</property>
<signal name="toggled" handler="on_disk_readonly_changed" swapped="no"/>
</object>
diff --git a/ui/fsdetails.ui b/ui/fsdetails.ui
index 4ccbddb..17315cb 100644
--- a/ui/fsdetails.ui
+++ b/ui/fsdetails.ui
@@ -171,7 +171,6 @@
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
- <property name="xalign">0.5</property>
<property name="draw_indicator">True</property>
<signal name="toggled" handler="on_fs_readonly_toggled" swapped="no"/>
</object>
diff --git a/ui/host.ui b/ui/host.ui
index 812654d..4aceb01 100644
--- a/ui/host.ui
+++ b/ui/host.ui
@@ -147,7 +147,6 @@
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
- <property name="xalign">0.5</property>
<property name="draw_indicator">True</property>
<signal name="toggled" handler="on_config_autoconnect_toggled" swapped="no"/>
</object>
diff --git a/ui/preferences.ui b/ui/preferences.ui
index b04fed5..6318825 100644
--- a/ui/preferences.ui
+++ b/ui/preferences.ui
@@ -50,7 +50,6 @@
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
- <property name="xalign">0.5</property>
<property name="draw_indicator">True</property>
<signal name="toggled" handler="on_prefs_system_tray_toggled" swapped="no"/>
</object>
@@ -714,7 +713,6 @@ Redirection:</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
- <property name="xalign">0.5</property>
<property name="draw_indicator">True</property>
<signal name="toggled" handler="on_prefs_confirm_forcepoweroff_toggled" swapped="no"/>
</object>
@@ -756,7 +754,6 @@ Redirection:</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
- <property name="xalign">0.5</property>
<property name="draw_indicator">True</property>
<signal name="toggled" handler="on_prefs_confirm_poweroff_toggled" swapped="no"/>
</object>
@@ -770,7 +767,6 @@ Redirection:</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
- <property name="xalign">0.5</property>
<property name="draw_indicator">True</property>
<signal name="toggled" handler="on_prefs_confirm_pause_toggled" swapped="no"/>
</object>
@@ -784,7 +780,6 @@ Redirection:</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
- <property name="xalign">0.5</property>
<property name="draw_indicator">True</property>
<signal name="toggled" handler="on_prefs_confirm_removedev_toggled" swapped="no"/>
</object>
@@ -826,7 +821,6 @@ Redirection:</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
- <property name="xalign">0.5</property>
<property name="draw_indicator">True</property>
<signal name="toggled" handler="on_prefs_confirm_interface_toggled" swapped="no"/>
</object>
@@ -854,7 +848,6 @@ Redirection:</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
- <property name="xalign">0.5</property>
<property name="draw_indicator">True</property>
<signal name="toggled" handler="on_prefs_confirm_unapplied_toggled" swapped="no"/>
</object>
--
2.9.4
More information about the virt-tools-list
mailing list