[gnome-control-center] universal-access: Replace GtkHBox and GtkVBox
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] universal-access: Replace GtkHBox and GtkVBox
- Date: Wed, 7 Mar 2018 14:51:52 +0000 (UTC)
commit 86413dc6d5532abe0410e1893e4f97cf7a6143d2
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Wed Mar 7 11:50:07 2018 -0300
universal-access: Replace GtkHBox and GtkVBox
We can simply use a GtkBox and set the orientation property.
Since this property defaults to 'horizontal', we actually
only need to set it when replacing GtkVBox.
panels/universal-access/uap.ui | 20 ++++++++++----------
panels/universal-access/zoom-options.ui | 21 ++++++++++++---------
2 files changed, 22 insertions(+), 19 deletions(-)
---
diff --git a/panels/universal-access/uap.ui b/panels/universal-access/uap.ui
index 70acd0883..866c72223 100644
--- a/panels/universal-access/uap.ui
+++ b/panels/universal-access/uap.ui
@@ -1975,7 +1975,7 @@
<property name="margin_start">10</property>
<property name="orientation">vertical</property>
<child>
- <object class="GtkHBox" id="typing_slowkeys_delay_box">
+ <object class="GtkBox" id="typing_slowkeys_delay_box">
<property name="visible">True</property>
<property name="sensitive">True</property>
<property name="can_focus">False</property>
@@ -1997,7 +1997,7 @@
</packing>
</child>
<child>
- <object class="GtkHBox" id="hbox42">
+ <object class="GtkBox" id="hbox42">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">6</property>
@@ -2188,7 +2188,7 @@
<property name="margin_start">10</property>
<property name="orientation">vertical</property>
<child>
- <object class="GtkHBox" id="typing_bouncekeys_delay_box">
+ <object class="GtkBox" id="typing_bouncekeys_delay_box">
<property name="visible">True</property>
<property name="sensitive">True</property>
<property name="can_focus">False</property>
@@ -2210,7 +2210,7 @@
</packing>
</child>
<child>
- <object class="GtkHBox" id="hbox44">
+ <object class="GtkBox" id="hbox44">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">6</property>
@@ -2526,7 +2526,7 @@
<property name="margin_end">10</property>
<property name="orientation">vertical</property>
<child>
- <object class="GtkHBox" id="pointing_secondary_click_delay_box">
+ <object class="GtkBox" id="pointing_secondary_click_delay_box">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">12</property>
@@ -2547,7 +2547,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="spacing">6</property>
@@ -2689,7 +2689,7 @@
<property name="margin_end">10</property>
<property name="orientation">vertical</property>
<child>
- <object class="GtkHBox" id="pointing_dwell_delay_box">
+ <object class="GtkBox" id="pointing_dwell_delay_box">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">12</property>
@@ -2710,7 +2710,7 @@
</packing>
</child>
<child>
- <object class="GtkHBox" id="hbox2">
+ <object class="GtkBox" id="hbox2">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK |
GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
@@ -2778,7 +2778,7 @@
</packing>
</child>
<child>
- <object class="GtkHBox" id="pointing_dwell_threshold_box">
+ <object class="GtkBox" id="pointing_dwell_threshold_box">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">12</property>
@@ -2799,7 +2799,7 @@
</packing>
</child>
<child>
- <object class="GtkHBox" id="hbox3">
+ <object class="GtkBox" id="hbox3">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK |
GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
diff --git a/panels/universal-access/zoom-options.ui b/panels/universal-access/zoom-options.ui
index e84dfe02f..879da93ef 100644
--- a/panels/universal-access/zoom-options.ui
+++ b/panels/universal-access/zoom-options.ui
@@ -85,7 +85,7 @@
<property name="orientation">vertical</property>
<property name="spacing">3</property>
<child>
- <object class="GtkHBox" id="hbox4">
+ <object class="GtkBox" id="hbox4">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_start">6</property>
@@ -156,7 +156,7 @@
<property name="margin_top">6</property>
<property name="margin_bottom">6</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="margin_start">18</property>
@@ -164,6 +164,7 @@
<property name="margin_top">12</property>
<property name="margin_bottom">12</property>
<property name="spacing">12</property>
+ <property name="orientation">vertical</property>
<child>
<object class="GtkFrame" id="frame2">
<property name="visible">True</property>
@@ -448,7 +449,7 @@
</packing>
</child>
<child>
- <object class="GtkVBox" id="vbox1">
+ <object class="GtkBox" id="vbox1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_start">18</property>
@@ -456,6 +457,7 @@
<property name="margin_top">12</property>
<property name="margin_bottom">12</property>
<property name="spacing">12</property>
+ <property name="orientation">vertical</property>
<child>
<object class="GtkFrame" id="frame3">
<property name="visible">True</property>
@@ -504,7 +506,7 @@
</packing>
</child>
<child>
- <object class="GtkHBox" id="hbox7">
+ <object class="GtkBox" id="hbox7">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">3</property>
@@ -591,7 +593,7 @@
</packing>
</child>
<child>
- <object class="GtkHBox" id="hbox6">
+ <object class="GtkBox" id="hbox6">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">3</property>
@@ -784,7 +786,7 @@
</packing>
</child>
<child>
- <object class="GtkVBox" id="vbox2">
+ <object class="GtkBox" id="vbox2">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_start">18</property>
@@ -792,6 +794,7 @@
<property name="margin_top">12</property>
<property name="margin_bottom">12</property>
<property name="spacing">12</property>
+ <property name="orientation">vertical</property>
<child>
<object class="GtkFrame" id="frame1">
<property name="visible">True</property>
@@ -913,7 +916,7 @@
</packing>
</child>
<child>
- <object class="GtkHBox" id="hbox3">
+ <object class="GtkBox" id="hbox3">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">3</property>
@@ -1011,7 +1014,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="spacing">3</property>
@@ -1075,7 +1078,7 @@
</packing>
</child>
<child>
- <object class="GtkHBox" id="hbox2">
+ <object class="GtkBox" id="hbox2">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">3</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]