[virt-tools-list] [virt-manager PATCHv2 02/13] Use GtkButtonBox instead of GtkHButtonBox

Radostin Stoyanov rstoyanov1 at gmail.com
Wed May 31 13:08:32 UTC 2017


GtkHButtonBox was deprecated since Gtk version 3.2 and should not
be used in newly-written code. Use GtkButtonBox instead. The property
orientation is set by default to horizontal.

https://developer.gnome.org/gtk3/stable/GtkHButtonBox.html
---
 ui/addhardware.ui     | 2 +-
 ui/clone.ui           | 2 +-
 ui/create.ui          | 2 +-
 ui/createinterface.ui | 2 +-
 ui/createnet.ui       | 2 +-
 ui/createpool.ui      | 2 +-
 ui/createvol.ui       | 2 +-
 ui/details.ui         | 4 ++--
 ui/migrate.ui         | 2 +-
 ui/preferences.ui     | 2 +-
 10 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/ui/addhardware.ui b/ui/addhardware.ui
index dac82df..2cd3f20 100644
--- a/ui/addhardware.ui
+++ b/ui/addhardware.ui
@@ -1826,7 +1826,7 @@
           </packing>
         </child>
         <child>
-          <object class="GtkHButtonBox" id="hbuttonbox1">
+          <object class="GtkButtonBox" id="hbuttonbox1">
             <property name="visible">True</property>
             <property name="can_focus">False</property>
             <property name="spacing">12</property>
diff --git a/ui/clone.ui b/ui/clone.ui
index 7f674a3..b835c1f 100644
--- a/ui/clone.ui
+++ b/ui/clone.ui
@@ -505,7 +505,7 @@ like change passwords or static IPs, please see the virt-sysprep(1) tool.</sp
               </packing>
             </child>
             <child>
-              <object class="GtkHButtonBox" id="hbuttonbox1">
+              <object class="GtkButtonBox" id="hbuttonbox1">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <property name="spacing">12</property>
diff --git a/ui/create.ui b/ui/create.ui
index 655c949..513ec08 100644
--- a/ui/create.ui
+++ b/ui/create.ui
@@ -2741,7 +2741,7 @@ is not yet supported.</small></property>
               </packing>
             </child>
             <child>
-              <object class="GtkHButtonBox" id="hbuttonbox1">
+              <object class="GtkButtonBox" id="hbuttonbox1">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <property name="spacing">12</property>
diff --git a/ui/createinterface.ui b/ui/createinterface.ui
index b3334a5..db959d7 100644
--- a/ui/createinterface.ui
+++ b/ui/createinterface.ui
@@ -1439,7 +1439,7 @@
               </packing>
             </child>
             <child>
-              <object class="GtkHButtonBox" id="hbuttonbox1">
+              <object class="GtkButtonBox" id="hbuttonbox1">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <property name="spacing">12</property>
diff --git a/ui/createnet.ui b/ui/createnet.ui
index 7e02ae6..4c3ea8d 100644
--- a/ui/createnet.ui
+++ b/ui/createnet.ui
@@ -1465,7 +1465,7 @@
               </packing>
             </child>
             <child>
-              <object class="GtkHButtonBox" id="hbuttonbox1">
+              <object class="GtkButtonBox" id="hbuttonbox1">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <property name="spacing">12</property>
diff --git a/ui/createpool.ui b/ui/createpool.ui
index 2b86e8b..8c2e73b 100644
--- a/ui/createpool.ui
+++ b/ui/createpool.ui
@@ -500,7 +500,7 @@
               </packing>
             </child>
             <child>
-              <object class="GtkHButtonBox" id="hbuttonbox1">
+              <object class="GtkButtonBox" id="hbuttonbox1">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <property name="spacing">12</property>
diff --git a/ui/createvol.ui b/ui/createvol.ui
index 9459543..0f99511 100644
--- a/ui/createvol.ui
+++ b/ui/createvol.ui
@@ -487,7 +487,7 @@
               </packing>
             </child>
             <child>
-              <object class="GtkHButtonBox" id="hbuttonbox1">
+              <object class="GtkButtonBox" id="hbuttonbox1">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <property name="spacing">6</property>
diff --git a/ui/details.ui b/ui/details.ui
index e553bc1..88dd01f 100644
--- a/ui/details.ui
+++ b/ui/details.ui
@@ -3884,7 +3884,7 @@ if you know what you are doing.</small></property>
                               </packing>
                             </child>
                             <child>
-                              <object class="GtkHButtonBox" id="hbuttonbox9">
+                              <object class="GtkButtonBox" id="hbuttonbox9">
                                 <property name="visible">True</property>
                                 <property name="can_focus">False</property>
                                 <property name="spacing">5</property>
@@ -5790,7 +5790,7 @@ if you know what you are doing.</small></property>
                       </packing>
                     </child>
                     <child>
-                      <object class="GtkHButtonBox" id="hbuttonbox3">
+                      <object class="GtkButtonBox" id="hbuttonbox3">
                         <property name="visible">True</property>
                         <property name="can_focus">False</property>
                         <property name="spacing">12</property>
diff --git a/ui/migrate.ui b/ui/migrate.ui
index 3ad7c5c..9edee19 100644
--- a/ui/migrate.ui
+++ b/ui/migrate.ui
@@ -636,7 +636,7 @@ If 'temporary' is selected, the migration is considered only a temporary move: t
               </packing>
             </child>
             <child>
-              <object class="GtkHButtonBox" id="hbuttonbox1">
+              <object class="GtkButtonBox" id="hbuttonbox1">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <property name="spacing">6</property>
diff --git a/ui/preferences.ui b/ui/preferences.ui
index 1802771..af22e5b 100644
--- a/ui/preferences.ui
+++ b/ui/preferences.ui
@@ -928,7 +928,7 @@ Redirection:</property>
           </packing>
         </child>
         <child>
-          <object class="GtkHButtonBox" id="hbuttonbox1">
+          <object class="GtkButtonBox" id="hbuttonbox1">
             <property name="visible">True</property>
             <property name="can_focus">False</property>
             <property name="layout_style">end</property>
-- 
2.9.4




More information about the virt-tools-list mailing list