Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/view/frame/frame.py
diff options
context:
space:
mode:
Diffstat (limited to 'shell/view/frame/frame.py')
-rw-r--r--shell/view/frame/frame.py17
1 files changed, 7 insertions, 10 deletions
diff --git a/shell/view/frame/frame.py b/shell/view/frame/frame.py
index 1c4680e..f411158 100644
--- a/shell/view/frame/frame.py
+++ b/shell/view/frame/frame.py
@@ -208,11 +208,10 @@ class Frame(object):
self._right_panel.hover)
def _create_top_panel(self):
- panel = self._create_panel(hippo.ORIENTATION_HORIZONTAL)
- root = panel.get_root()
+ panel = self._create_panel(gtk.POS_TOP)
box = ZoomBox(self._shell)
- root.append(box)
+ panel.append(box)
#box = OverlayBox(self._shell)
#root.append(box, hippo.PACK_END)
@@ -220,25 +219,23 @@ class Frame(object):
return panel
def _create_bottom_panel(self):
- panel = self._create_panel(hippo.ORIENTATION_HORIZONTAL)
- root = panel.get_root()
+ panel = self._create_panel(gtk.POS_BOTTOM)
box = ActivitiesBox(self._shell)
- root.append(box)
+ panel.append(box)
return panel
def _create_right_panel(self):
- panel = self._create_panel(hippo.ORIENTATION_VERTICAL)
- root = panel.get_root()
+ panel = self._create_panel(gtk.POS_RIGHT)
box = FriendsBox(self._shell)
- root.append(box)
+ panel.append(box)
return panel
def _create_left_panel(self):
- panel = ClipboardPanelWindow(self, hippo.ORIENTATION_VERTICAL)
+ panel = ClipboardPanelWindow(self, gtk.POS_LEFT)
self._connect_to_panel(panel)
panel.connect('drag-motion', self._drag_motion_cb)