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:
authorMarco Pesenti Gritti <mpg@redhat.com>2007-08-17 14:18:57 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2007-08-17 14:18:57 (GMT)
commitde9e02b498cf157da0b2af7b135a8fd93a7b57ae (patch)
tree9db3a794d40a37f3c97913679e2c2c3bd962c5c2 /shell/view/frame/frame.py
parentdfe8ff68065d5191a2ade265432000327b0de7ce (diff)
Fix several sizing bugs.
Diffstat (limited to 'shell/view/frame/frame.py')
-rw-r--r--shell/view/frame/frame.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/shell/view/frame/frame.py b/shell/view/frame/frame.py
index f411158..2582fe6 100644
--- a/shell/view/frame/frame.py
+++ b/shell/view/frame/frame.py
@@ -268,16 +268,16 @@ class Frame(object):
screen_w = gtk.gdk.screen_width()
self._move_panel(self._top_panel, self._current_position,
- 0, - style.GRID_CELL_SIZE, 0, 0)
+ 0, - self._top_panel.size, 0, 0)
self._move_panel(self._bottom_panel, self._current_position,
- 0, screen_h, 0, screen_h - style.GRID_CELL_SIZE)
+ 0, screen_h, 0, screen_h - self._bottom_panel.size)
self._move_panel(self._left_panel, self._current_position,
- - style.GRID_CELL_SIZE, 0, 0, 0)
+ - self._left_panel.size, 0, 0, 0)
self._move_panel(self._right_panel, self._current_position,
- screen_w, 0, screen_w - style.GRID_CELL_SIZE, 0)
+ screen_w, 0, screen_w - self._right_panel.size, 0)
def _hide_completed_cb(self, animator):
self.mode = MODE_NONE