[gnome-control-center/wip/gbsneto/new-keyboard-panel: 12/27] keyboard: remove deprecated GtkHBox and GtkVBox
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/wip/gbsneto/new-keyboard-panel: 12/27] keyboard: remove deprecated GtkHBox and GtkVBox
- Date: Tue, 19 Jul 2016 16:03:03 +0000 (UTC)
commit 5ecc3bf5bd3165387035579fb447442bd3ee3f87
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 replaces
by vertical and/or horizontal GtkBoxes.
This commit replaces the usage of the deprecated box classes.
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..10fbc4b 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" id="vbox4">
<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" id="hbox1">
<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]