diff --git a/shell/view/frame/activitybutton.py b/shell/view/frame/activitybutton.py index 0595a55f..0c7c7fb0 100644 --- a/shell/view/frame/activitybutton.py +++ b/shell/view/frame/activitybutton.py @@ -54,11 +54,12 @@ class ActivityButton(TrayButton, gobject.GObject): self.set_palette(palette) palette.props.invoker = FrameWidgetInvoker(self) - if os.path.dirname(self._activity_info.path) == os.path.expanduser('~/Activities'): - menu_item = gtk.MenuItem(_('Remove')) - menu_item.connect('activate', self.item_remove_cb) - palette.menu.append(menu_item) - menu_item.show() +#TODO: Disabled this until later, see #4967 +# if os.path.dirname(self._activity_info.path) == os.path.expanduser('~/Activities'): +# menu_item = gtk.MenuItem(_('Remove')) +# menu_item.connect('activate', self.item_remove_cb) +# palette.menu.append(menu_item) +# menu_item.show() def item_remove_cb(self, widget): self.emit('remove_activity')