[gnome-dvb-daemon] Don't use deprecated HPaned and VPaned anymore
- From: Sebastian Polsterl <sebp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-dvb-daemon] Don't use deprecated HPaned and VPaned anymore
- Date: Sun, 30 Oct 2011 13:00:29 +0000 (UTC)
commit 8dca74f43faa25b6cd365838eb0003f7af45137a
Author: Sebastian PÃlsterl <sebp k-d-w org>
Date: Sun Oct 30 13:59:23 2011 +0100
Don't use deprecated HPaned and VPaned anymore
.../ui/controlcenter/ControlCenterWindow.py | 2 +-
client/gnomedvb/ui/widgets/SchedulePaned.py | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/client/gnomedvb/ui/controlcenter/ControlCenterWindow.py b/client/gnomedvb/ui/controlcenter/ControlCenterWindow.py
index 10f99f0..eb21a0c 100644
--- a/client/gnomedvb/ui/controlcenter/ControlCenterWindow.py
+++ b/client/gnomedvb/ui/controlcenter/ControlCenterWindow.py
@@ -66,7 +66,7 @@ class ControlCenterWindow(Gtk.Window):
self.hbox = Gtk.Box(spacing=6)
self.vbox_outer.pack_start(self.hbox, True, True, 0)
- self.hpaned = Gtk.HPaned()
+ self.hpaned = Gtk.Paned()
self.hpaned.set_border_width(3)
self.hpaned.set_position(175)
self.hbox.pack_start(self.hpaned, True, True, 0)
diff --git a/client/gnomedvb/ui/widgets/SchedulePaned.py b/client/gnomedvb/ui/widgets/SchedulePaned.py
index 5ee7c1e..a24fe4a 100644
--- a/client/gnomedvb/ui/widgets/SchedulePaned.py
+++ b/client/gnomedvb/ui/widgets/SchedulePaned.py
@@ -21,10 +21,10 @@ from gi.repository import Gtk
from gnomedvb.ui.widgets.ScheduleStore import ScheduleStore
from gnomedvb.ui.widgets.ScheduleView import ScheduleView
-class SchedulePaned (Gtk.VPaned):
+class SchedulePaned (Gtk.Paned):
def __init__(self):
- GObject.GObject.__init__(self)
+ GObject.GObject.__init__(self, orientation=Gtk.Orientation.VERTICAL)
self.scheduleview = ScheduleView()
self.scheduleview.show()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]