diff --git a/shell/view/home/activitiesdonut.py b/shell/view/home/activitiesdonut.py index 306cdf54..cb9e4b2a 100644 --- a/shell/view/home/activitiesdonut.py +++ b/shell/view/home/activitiesdonut.py @@ -24,6 +24,7 @@ import gobject import gtk from sugar.graphics.canvasicon import CanvasIcon +from sugar.graphics.menuitem import MenuItem from sugar.graphics.palette import Palette from sugar.graphics import style from sugar.graphics import xocolor @@ -87,14 +88,14 @@ class ActivityIcon(CanvasIcon): palette.set_primary_text(self._activity.get_title()) - resume_menu_item = gtk.MenuItem(_('Resume')) + resume_menu_item = MenuItem(_('Resume'), 'zoom-activity') resume_menu_item.connect('activate', self._resume_activate_cb) palette.menu.append(resume_menu_item) resume_menu_item.show() # FIXME: kludge if self._activity.get_type() != "org.laptop.JournalActivity": - stop_menu_item = gtk.MenuItem(_('Stop')) + stop_menu_item = MenuItem(_('Stop'), 'activity-stop') stop_menu_item.connect('activate', self._stop_activate_cb) palette.menu.append(stop_menu_item) stop_menu_item.show()