From a6855e37ec180c19d6cd4df8210f62cee8a9d1db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Manuel=20Qui=C3=B1ones?= <manuq@laptop.org>
Date: Thu, 8 Nov 2012 13:38:04 -0300
Subject: [PATCH shell 2/2] Buddy menu: Set size for the invite icon - SL
#4157
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Mail-Followup-To: <sugar-devel@lists.sugarlabs.org>
Should be set explicitly in the current palette implementation.
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
---
src/jarabe/view/buddymenu.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/jarabe/view/buddymenu.py b/src/jarabe/view/buddymenu.py
index 9015fbe..f1b7163 100644
a
|
b
|
class BuddyMenu(Palette): |
144 | 144 | title = activity.get_title() |
145 | 145 | self._invite_menu.set_label(_('Invite to %s') % title) |
146 | 146 | |
147 | | icon = Icon(file=activity.get_icon_path()) |
| 147 | icon = Icon(file=activity.get_icon_path(), |
| 148 | icon_size=Gtk.IconSize.SMALL_TOOLBAR) |
148 | 149 | icon.props.xo_color = activity.get_icon_color() |
149 | 150 | self._invite_menu.set_image(icon) |
150 | 151 | icon.show() |