[gnome-control-center/wip/gbsneto/new-keyboard-panel: 4/20] keyboard: remove deprecated GtkHBox and GtkVBox



commit f0758fef81c1958045f09359a9e63d4a6b2b1a8f
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Tue Jun 14 14:32:41 2016 -0300

    keyboard: remove deprecated GtkHBox and GtkVBox
    
    These classes are deprecated by Gtk+ and should be replaced
    by vertical and/or horizontal GtkBoxes.
    
    This commit replaces the usage of the deprecated box classes.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=769063

 panels/keyboard/gnome-keyboard-panel.ui |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/panels/keyboard/gnome-keyboard-panel.ui b/panels/keyboard/gnome-keyboard-panel.ui
index 470ac85..dd9e50a 100644
--- a/panels/keyboard/gnome-keyboard-panel.ui
+++ b/panels/keyboard/gnome-keyboard-panel.ui
@@ -63,7 +63,7 @@
         <property name="can_focus">False</property>
         <property name="orientation">vertical</property>
         <child>
-          <object class="GtkVBox" id="vbox4">
+          <object class="GtkBox">
             <property name="visible">True</property>
             <property name="can_focus">False</property>
             <property name="border_width">5</property>
@@ -149,15 +149,17 @@
       <action-widget response="-5">custom-shortcut-ok-button</action-widget>
     </action-widgets>
   </object>
-              <object class="GtkVBox" id="shortcuts_page">
+              <object class="GtkBox" id="shortcuts_page">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
+                <property name="orientation">vertical</property>
                 <property name="border_width">5</property>
                 <property name="spacing">12</property>
                 <child>
-                  <object class="GtkVBox" id="shortcuts_vbox">
+                  <object class="GtkBox" id="shortcuts_vbox">
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
+                    <property name="orientation">vertical</property>
                     <property name="spacing">6</property>
                     <child>
                       <object class="GtkGrid" id="shortcuts_grid">
@@ -263,7 +265,7 @@
                       </packing>
                     </child>
                     <child>
-                      <object class="GtkHBox" id="hbox1">
+                      <object class="GtkBox">
                         <property name="visible">True</property>
                         <property name="can_focus">False</property>
                         <property name="border_width">5</property>


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