From 42052f5ee7649904af52d828ca9084a951b819b7 Mon Sep 17 00:00:00 2001 From: Bill Dengler Date: Sat, 2 May 2015 18:42:21 -0400 Subject: [PATCH] Cleaned up user menu. --- src/controller/mainController.py | 6 ------ src/wxUI/view.py | 11 +---------- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/src/controller/mainController.py b/src/controller/mainController.py index e98df9ec..53ad038c 100644 --- a/src/controller/mainController.py +++ b/src/controller/mainController.py @@ -148,12 +148,6 @@ class Controller(object): widgetUtils.connect_event(self.view, widgetUtils.MENU, self.delete, self.view.delete) widgetUtils.connect_event(self.view, widgetUtils.MENU, self.follow, menuitem=self.view.follow) widgetUtils.connect_event(self.view, widgetUtils.MENU, self.send_dm, self.view.dm) - widgetUtils.connect_event(self.view, widgetUtils.MENU, self.unfollow, menuitem=self.view.unfollow) - widgetUtils.connect_event(self.view, widgetUtils.MENU, self.mute, menuitem=self.view.mute) - widgetUtils.connect_event(self.view, widgetUtils.MENU, self.unmute, menuitem=self.view.unmute) - widgetUtils.connect_event(self.view, widgetUtils.MENU, self.report, menuitem=self.view.report) - widgetUtils.connect_event(self.view, widgetUtils.MENU, self.block, menuitem=self.view.block) - widgetUtils.connect_event(self.view, widgetUtils.MENU, self.unblock, menuitem=self.view.unblock) widgetUtils.connect_event(self.view, widgetUtils.MENU, self.get_more_items, menuitem=self.view.load_previous_items) widgetUtils.connect_event(self.view, widgetUtils.MENU, self.clear_buffer, menuitem=self.view.clear) widgetUtils.connect_event(self.view, widgetUtils.MENU, self.remove_buffer, self.view.deleteTl) diff --git a/src/wxUI/view.py b/src/wxUI/view.py index 16ae83df..cd0f0d37 100644 --- a/src/wxUI/view.py +++ b/src/wxUI/view.py @@ -37,13 +37,7 @@ class mainFrame(wx.Frame): # User menu user = wx.Menu() - self.follow = user.Append(wx.NewId(), _(u"&Follow")) - self.unfollow = user.Append(wx.NewId(), _(u"&Unfollow")) - self.mute = user.Append(wx.NewId(), _(u"&Mute")) - self.unmute = user.Append(wx.NewId(), _(u"U&nmute")) - self.report = user.Append(wx.NewId(), _(u"&Report as spam")) - self.block = user.Append(wx.NewId(), _(u"&Block")) - self.unblock = user.Append(wx.NewId(), _(u"Unb&lock")) + self.follow = user.Append(wx.NewId(), _(u"&Actions...")) self.dm = user.Append(wx.NewId(), _(u"Direct me&ssage")) self.addToList = user.Append(wx.NewId(), _(u"&Add to list")) self.addToList.Enable(False) @@ -94,9 +88,6 @@ class mainFrame(wx.Frame): (wx.ACCEL_CTRL, ord('Q'), self.close.GetId()), (wx.ACCEL_CTRL, ord('S'), self.follow.GetId()), -(wx.ACCEL_CTRL|wx.ACCEL_SHIFT, ord('S'), self.unfollow.GetId()), -(wx.ACCEL_CTRL, ord('K'), self.block.GetId()), -(wx.ACCEL_CTRL|wx.ACCEL_SHIFT, ord('K'), self.report.GetId()), (wx.ACCEL_CTRL, ord('I'), self.newbuffer.GetId()), (wx.ACCEL_CTRL|wx.ACCEL_SHIFT, ord('I'), self.deleteTl.GetId()), (wx.ACCEL_CTRL, ord('M'), self.show_hide.GetId()),