Increase zoom view icon sizes

This commit is contained in:
Marco Pesenti Gritti 2006-09-22 21:29:48 +02:00
parent 1f8b5cfbf3
commit 17913d20b8
3 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ from view.BuddyMenu import BuddyMenu
class BuddyIcon(MenuIcon): class BuddyIcon(MenuIcon):
def __init__(self, shell, menu_shell, friend): def __init__(self, shell, menu_shell, friend):
MenuIcon.__init__(self, menu_shell, icon_name='stock-buddy', MenuIcon.__init__(self, menu_shell, icon_name='stock-buddy',
color=friend.get_color(), size=96) color=friend.get_color(), size=112)
self._shell = shell self._shell = shell
self._friend = friend self._friend = friend

View File

@ -15,7 +15,7 @@ class FriendsGroup(goocanvas.Group):
self._icon_layout = IconLayout(1200, 900) self._icon_layout = IconLayout(1200, 900)
self._friends = {} self._friends = {}
me = MyIcon(100) me = MyIcon(112)
me.translate(600 - (me.get_property('size') / 2), me.translate(600 - (me.get_property('size') / 2),
450 - (me.get_property('size') / 2)) 450 - (me.get_property('size') / 2))
self.add_child(me) self.add_child(me)

View File

@ -14,7 +14,7 @@ class ActivityItem(IconItem):
self._activity = activity self._activity = activity
IconItem.__init__(self, icon_name=self.get_icon_name(), IconItem.__init__(self, icon_name=self.get_icon_name(),
color=self.get_color(), size=96) color=self.get_color(), size=112)
def get_id(self): def get_id(self):
return self._activity.get_id() return self._activity.get_id()