[pitivi] Use GtkBox instead of GtkV[H]Box everywhere
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] Use GtkBox instead of GtkV[H]Box everywhere
- Date: Wed, 24 Sep 2014 17:03:35 +0000 (UTC)
commit 7f2dd38c336415b3b192ddfb00a2afb54e2a9d4a
Author: Lubosz Sarnecki <lubosz gmail com>
Date: Tue Sep 16 17:01:54 2014 +0200
Use GtkBox instead of GtkV[H]Box everywhere
Remove H and V from GtkBox, GtkScale, GtkPaned and GtkButtonBox
It is deprecated these days.
data/ui/alignmentprogress.ui | 3 ++-
data/ui/clipmediaprops.ui | 21 ++++++++++++---------
data/ui/cliptransformation.ui | 15 ++++++++++-----
data/ui/depsmanager.ui | 3 ++-
data/ui/filelisterrordialog.ui | 6 ++++--
data/ui/preferences.ui | 6 ++++--
data/ui/projectsettings.ui | 18 ++++++++++++------
data/ui/renderingdialog.ui | 24 ++++++++++++++++--------
data/ui/startupwizard.ui | 12 ++++++++----
data/ui/titleeditor.ui | 9 ++++++---
10 files changed, 76 insertions(+), 41 deletions(-)
---
diff --git a/data/ui/alignmentprogress.ui b/data/ui/alignmentprogress.ui
index cce1afe..f133583 100644
--- a/data/ui/alignmentprogress.ui
+++ b/data/ui/alignmentprogress.ui
@@ -10,8 +10,9 @@
<property name="type_hint">dialog</property>
<property name="deletable">False</property>
<child>
- <object class="GtkVBox" id="vbox1">
+ <object class="GtkBox" id="vbox1">
<property name="visible">True</property>
+ <property name="orientation">vertical</property>
<child>
<object class="GtkLabel" id="label5">
<property name="visible">True</property>
diff --git a/data/ui/clipmediaprops.ui b/data/ui/clipmediaprops.ui
index a6dbb9b..2168c93 100644
--- a/data/ui/clipmediaprops.ui
+++ b/data/ui/clipmediaprops.ui
@@ -56,9 +56,10 @@
</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="orientation">vertical</property>
<child>
<object class="GtkFrame" id="frame1">
<property name="visible">True</property>
@@ -71,11 +72,12 @@
<property name="can_focus">False</property>
<property name="left_padding">12</property>
<child>
- <object class="GtkVBox" id="vbox3">
+ <object class="GtkBox" id="vbox3">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="orientation">vertical</property>
<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>
@@ -96,7 +98,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>
<child>
@@ -148,7 +150,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">6</property>
@@ -187,7 +189,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">6</property>
@@ -258,11 +260,12 @@
<property name="can_focus">False</property>
<property name="left_padding">12</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="orientation">vertical</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="spacing">6</property>
@@ -301,7 +304,7 @@
</packing>
</child>
<child>
- <object class="GtkHBox" id="hbox5">
+ <object class="GtkBox" id="hbox5">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">6</property>
diff --git a/data/ui/cliptransformation.ui b/data/ui/cliptransformation.ui
index 7cbbb76..859311a 100644
--- a/data/ui/cliptransformation.ui
+++ b/data/ui/cliptransformation.ui
@@ -54,12 +54,14 @@
<property name="step_increment">0.01</property>
<property name="page_increment">0.10000000000000001</property>
</object>
- <object class="GtkVBox" id="transform_box">
+ <object class="GtkBox" id="transform_box">
+ <property name="orientation">vertical</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">12</property>
<child>
- <object class="GtkHButtonBox" id="buttonbox1">
+ <object class="GtkButtonBox" id="buttonbox1">
+ <property name="orientation">horizontal</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">6</property>
@@ -100,7 +102,8 @@
<property name="can_focus">False</property>
<property name="left_padding">12</property>
<child>
- <object class="GtkHScale" id="zoom_scale">
+ <object class="GtkScale" id="zoom_scale">
+ <property name="orientation">horizontal</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="adjustment">zoom_adjustment</property>
@@ -139,7 +142,8 @@
<property name="can_focus">False</property>
<property name="left_padding">12</property>
<child>
- <object class="GtkHBox" id="box3">
+ <object class="GtkBox" id="box3">
+ <property name="orientation">horizontal</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">6</property>
@@ -232,7 +236,8 @@
<property name="can_focus">False</property>
<property name="left_padding">12</property>
<child>
- <object class="GtkHBox" id="box2">
+ <object class="GtkBox" id="box2">
+ <property name="orientation">horizontal</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">6</property>
diff --git a/data/ui/depsmanager.ui b/data/ui/depsmanager.ui
index ad56a75..c27a409 100644
--- a/data/ui/depsmanager.ui
+++ b/data/ui/depsmanager.ui
@@ -55,7 +55,8 @@
</packing>
</child>
<child>
- <object class="GtkVBox" id="box1">
+ <object class="GtkBox" id="box1">
+ <property name="orientation">vertical</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">12</property>
diff --git a/data/ui/filelisterrordialog.ui b/data/ui/filelisterrordialog.ui
index c7778f1..02ee107 100644
--- a/data/ui/filelisterrordialog.ui
+++ b/data/ui/filelisterrordialog.ui
@@ -15,10 +15,11 @@
<property name="orientation">vertical</property>
<property name="spacing">12</property>
<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>
+ <property name="orientation">horizontal</property>
<child>
<object class="GtkImage" id="image1">
<property name="visible">True</property>
@@ -96,7 +97,8 @@
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK |
GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
<property name="resize_mode">queue</property>
<child>
- <object class="GtkVBox" id="errorvbox">
+ <object class="GtkBox" id="errorvbox">
+ <property name="orientation">vertical</property>
<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/data/ui/preferences.ui b/data/ui/preferences.ui
index 6572011..3cce03e 100644
--- a/data/ui/preferences.ui
+++ b/data/ui/preferences.ui
@@ -14,7 +14,8 @@
<property name="orientation">vertical</property>
<property name="spacing">2</property>
<child>
- <object class="GtkHPaned" id="paned1">
+ <object class="GtkPaned" id="paned1">
+ <property name="orientation">horizontal</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<child>
@@ -67,7 +68,8 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
- <object class="GtkVBox" id="box1">
+ <object class="GtkBox" id="box1">
+ <property name="orientation">vertical</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
diff --git a/data/ui/projectsettings.ui b/data/ui/projectsettings.ui
index ac21bc6..51f760b 100644
--- a/data/ui/projectsettings.ui
+++ b/data/ui/projectsettings.ui
@@ -114,13 +114,15 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<child>
- <object class="GtkHBox" id="hbox4">
+ <object class="GtkBox" id="hbox4">
+ <property name="orientation">horizontal</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="border_width">12</property>
<property name="spacing">12</property>
<child>
- <object class="GtkVBox" id="vbox2">
+ <object class="GtkBox" id="vbox2">
+ <property name="orientation">vertical</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
@@ -398,14 +400,16 @@
</packing>
</child>
<child>
- <object class="GtkVBox" id="vbox3">
+ <object class="GtkBox" id="vbox3">
+ <property name="orientation">vertical</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<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>
+ <property name="orientation">horizontal</property>
<child>
<object class="GtkSpinButton" id="width_spinbutton">
<property name="visible">True</property>
@@ -532,13 +536,15 @@
</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="border_width">12</property>
<property name="spacing">12</property>
+ <property name="orientation">horizontal</property>
<child>
- <object class="GtkVBox" id="vbox1">
+ <object class="GtkBox" id="vbox1">
+ <property name="orientation">vertical</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
diff --git a/data/ui/renderingdialog.ui b/data/ui/renderingdialog.ui
index cb57d9a..126db17 100644
--- a/data/ui/renderingdialog.ui
+++ b/data/ui/renderingdialog.ui
@@ -126,11 +126,13 @@
</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="orientation">horizontal</property>
<child>
- <object class="GtkVBox" id="vbox4">
+ <object class="GtkBox" id="vbox4">
+ <property name="orientation">vertical</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
@@ -288,12 +290,13 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<child>
- <object class="GtkVBox" id="vbox1">
+ <object class="GtkBox" id="vbox1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="valign">start</property>
<property name="border_width">12</property>
<property name="spacing">12</property>
+ <property name="orientation">vertical</property>
<child>
<object class="GtkTable" id="table2">
<property name="visible">True</property>
@@ -484,7 +487,8 @@
</packing>
</child>
<child>
- <object class="GtkVBox" id="vbox2">
+ <object class="GtkBox" id="vbox2">
+ <property name="orientation">vertical</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="valign">start</property>
@@ -499,10 +503,11 @@
<property name="column_spacing">6</property>
<property name="row_spacing">6</property>
<child>
- <object class="GtkHBox" id="hbox5">
+ <object class="GtkBox" id="hbox5">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">6</property>
+ <property name="orientation">horizontal</property>
<child>
<object class="GtkComboBox" id="video_encoder_combo">
<property name="visible">True</property>
@@ -583,10 +588,11 @@
</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">6</property>
+ <property name="orientation">horizontal</property>
<child>
<object class="GtkSpinButton" id="scale_spinbutton">
<property name="visible">True</property>
@@ -717,12 +723,13 @@
</packing>
</child>
<child>
- <object class="GtkVBox" id="vbox3">
+ <object class="GtkBox" id="vbox3">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="valign">start</property>
<property name="border_width">12</property>
<property name="spacing">6</property>
+ <property name="orientation">vertical</property>
<child>
<object class="GtkTable" id="table4">
<property name="visible">True</property>
@@ -826,10 +833,11 @@
</packing>
</child>
<child>
- <object class="GtkHBox" id="hbox4">
+ <object class="GtkBox" id="hbox4">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">6</property>
+ <property name="orientation">horizontal</property>
<child>
<object class="GtkComboBox" id="audio_encoder_combo">
<property name="visible">True</property>
diff --git a/data/ui/startupwizard.ui b/data/ui/startupwizard.ui
index 998a1b6..1fe1811 100644
--- a/data/ui/startupwizard.ui
+++ b/data/ui/startupwizard.ui
@@ -12,17 +12,20 @@
<signal name="key-press-event" handler="_keyPressCb" swapped="no"/>
<signal name="delete-event" handler="_deleteCb" swapped="no"/>
<child>
- <object class="GtkVBox" id="topvbox">
+ <object class="GtkBox" id="topvbox">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="orientation">vertical</property>
<child>
- <object class="GtkHBox" id="hbox2">
+ <object class="GtkBox" id="hbox2">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="border_width">10</property>
<property name="spacing">12</property>
+ <property name="orientation">horizontal</property>
<child>
- <object class="GtkVBox" id="vbox2">
+ <object class="GtkBox" id="vbox2">
+ <property name="orientation">vertical</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">6</property>
@@ -66,12 +69,13 @@
</packing>
</child>
<child>
- <object class="GtkVButtonBox" id="vbuttonbox2">
+ <object class="GtkButtonBox" id="vbuttonbox2">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">6</property>
<property name="homogeneous">True</property>
<property name="layout_style">start</property>
+ <property name="orientation">vertical</property>
<child>
<object class="GtkButton" id="new_button">
<property name="label">gtk-new</property>
diff --git a/data/ui/titleeditor.ui b/data/ui/titleeditor.ui
index 8d11a7e..d91f0f1 100644
--- a/data/ui/titleeditor.ui
+++ b/data/ui/titleeditor.ui
@@ -1,9 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.0 -->
- <object class="GtkVBox" id="box1">
+ <object class="GtkBox" id="box1">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="orientation">vertical</property>
<child>
<object class="GtkInfoBar" id="infobar">
<property name="visible">True</property>
@@ -78,9 +79,10 @@
</packing>
</child>
<child>
- <object class="GtkVBox" id="editing_box">
+ <object class="GtkBox" id="editing_box">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="orientation">vertical</property>
<child>
<object class="GtkToolbar" id="toolbar">
<property name="visible">True</property>
@@ -243,9 +245,10 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<child>
- <object class="GtkVBox" id="box5">
+ <object class="GtkBox" id="box5">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="orientation">vertical</property>
<child>
<object class="GtkAlignment" id="alignment2">
<property name="visible">True</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]