[pitivi] clipproperties: Add the vbox directly to the ScrolledWindow
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] clipproperties: Add the vbox directly to the ScrolledWindow
- Date: Tue, 27 Jan 2015 18:39:34 +0000 (UTC)
commit 6ad68b4e47692541f32428cd46c929e169427032
Author: Alexandru Băluț <alexandru balut gmail com>
Date: Fri Nov 21 04:10:54 2014 +0100
clipproperties: Add the vbox directly to the ScrolledWindow
We depend on Gtk 3.10 and this is available since Gtk 3.8.
pitivi/clipproperties.py | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/pitivi/clipproperties.py b/pitivi/clipproperties.py
index bf807f4..4447592 100644
--- a/pitivi/clipproperties.py
+++ b/pitivi/clipproperties.py
@@ -69,15 +69,11 @@ class ClipProperties(Gtk.ScrolledWindow, Loggable):
self.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC)
- viewport = Gtk.Viewport()
- viewport.show()
- self.add(viewport)
-
vbox = Gtk.Box()
vbox.set_orientation(Gtk.Orientation.VERTICAL)
vbox.set_spacing(SPACING)
vbox.show()
- viewport.add(vbox)
+ self.add(vbox)
self.infobar_box = Gtk.Box()
self.infobar_box.set_orientation(Gtk.Orientation.VERTICAL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]