diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-09-22 12:32:07 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-09-22 12:32:07 (GMT) |
commit | d8c61d271ad12225b2e08cf23a8b60feccb07bd1 (patch) | |
tree | 1b7eee368827d514ae8ab2e3b2be6fb87a5a66fd /shell | |
parent | 092ded9e5384e4506e1cfc527c4041e416371f23 (diff) |
Convert to the new icon format
Diffstat (limited to 'shell')
-rw-r--r-- | shell/view/frame/BottomPanel.py | 6 | ||||
-rw-r--r-- | shell/view/frame/RightPanel.py | 4 | ||||
-rw-r--r-- | shell/view/frame/TopPanel.py | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/shell/view/frame/BottomPanel.py b/shell/view/frame/BottomPanel.py index 5f98f01..7509576 100644 --- a/shell/view/frame/BottomPanel.py +++ b/shell/view/frame/BottomPanel.py @@ -34,7 +34,7 @@ class InviteItem(IconItem): class BottomPanel(CanvasBox): def __init__(self, shell): - CanvasBox.__init__(self, shell.get_grid(), CanvasBox.HORIZONTAL, 1) + CanvasBox.__init__(self, shell.get_grid(), CanvasBox.HORIZONTAL) self._shell = shell self._invite_to_item = {} @@ -67,13 +67,13 @@ class BottomPanel(CanvasBox): def add_activity(self, activity): item = ActivityItem(activity) item.connect('clicked', self.__activity_clicked_cb) - self.set_constraints(item, 3, 3) + self.set_constraints(item, 5, 5) self.add_child(item) def add_invite(self, invite): item = InviteItem(invite) item.connect('clicked', self.__invite_clicked_cb) - self.set_constraints(item, 3, 3) + self.set_constraints(item, 5, 5) self.add_child(item, 0) self._invite_to_item[invite] = item diff --git a/shell/view/frame/RightPanel.py b/shell/view/frame/RightPanel.py index d74d6ab..04f9478 100644 --- a/shell/view/frame/RightPanel.py +++ b/shell/view/frame/RightPanel.py @@ -10,7 +10,7 @@ from view.frame.MenuStrategy import MenuStrategy class RightPanel(CanvasBox): def __init__(self, shell, menu_shell): - CanvasBox.__init__(self, shell.get_grid(), CanvasBox.VERTICAL, 1) + CanvasBox.__init__(self, shell.get_grid(), CanvasBox.VERTICAL) self._shell = shell self._menu_shell = menu_shell self._activity_ps = None @@ -27,7 +27,7 @@ class RightPanel(CanvasBox): def add(self, buddy): icon = BuddyIcon(self._shell, self._menu_shell, BuddyModel(buddy)) icon.set_menu_strategy(MenuStrategy()) - self.set_constraints(icon, 3, 3) + self.set_constraints(icon, 5, 5) self.add_child(icon) self._buddies[buddy.get_name()] = icon diff --git a/shell/view/frame/TopPanel.py b/shell/view/frame/TopPanel.py index e8dc5c4..5516bb5 100644 --- a/shell/view/frame/TopPanel.py +++ b/shell/view/frame/TopPanel.py @@ -96,7 +96,7 @@ class TopPanel(goocanvas.Group): if activity: icon = ActivityIcon(self._shell, self._menu_shell, activity) - self._box.set_constraints(icon, 3, 3) + self._box.set_constraints(icon, 5, 5) self._box.add_child(icon) self._activity_icon = icon else: |