[pitivi] project_: Use Box instead of HBox/VBox



commit e94f75adf6bfd7855e815756d0d1f2e2aca9a654
Author: Alexandru Băluț <alexandru balut gmail com>
Date:   Sat Nov 28 02:15:17 2015 +0100

    project_: Use Box instead of HBox/VBox
    
    Reviewed-by: Thibault Saunier <tsaunier gnome org>
    Differential Revision: https://phabricator.freedesktop.org/D568

 pitivi/project.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/project.py b/pitivi/project.py
index a30ba49..b02d70a 100644
--- a/pitivi/project.py
+++ b/pitivi/project.py
@@ -271,12 +271,12 @@ class ProjectManager(GObject.Object, Loggable):
         primary.set_width_chars(50)
 
         # put the text in a vbox
-        vbox = Gtk.VBox(homogeneous=False, spacing=SPACING * 2)
+        vbox = Gtk.Box(orientation=Gtk.Orientation.VERTICAL, spacing=SPACING * 2)
         vbox.pack_start(primary, True, True, 0)
 
         # make the [[image] text] hbox
         image = Gtk.Image.new_from_icon_name("dialog-error", Gtk.IconSize.DIALOG)
-        hbox = Gtk.HBox(homogeneous=False, spacing=SPACING * 2)
+        hbox = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL, spacing=SPACING * 2)
         hbox.pack_start(image, False, True, 0)
         hbox.pack_start(vbox, True, True, 0)
         hbox.set_border_width(SPACING)


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