Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/view/BuddyIcon.py
diff options
context:
space:
mode:
Diffstat (limited to 'shell/view/BuddyIcon.py')
-rw-r--r--shell/view/BuddyIcon.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/shell/view/BuddyIcon.py b/shell/view/BuddyIcon.py
index 047035e..95365aa 100644
--- a/shell/view/BuddyIcon.py
+++ b/shell/view/BuddyIcon.py
@@ -16,12 +16,14 @@
from sugar.graphics.icon import CanvasIcon
from sugar.graphics.palette import Palette
+from sugar.graphics import style
+
from view.BuddyMenu import BuddyMenu
class BuddyIcon(CanvasIcon):
- def __init__(self, shell, buddy):
+ def __init__(self, shell, buddy, size=style.STANDARD_ICON_SIZE):
CanvasIcon.__init__(self, icon_name='computer-xo',
- xo_color=buddy.get_color())
+ xo_color=buddy.get_color(), size=size)
self._shell = shell
self._buddy = buddy