From 3c0110528f9dcc572c09c3df874900d6bf2511fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Cort=C3=A9z?= Date: Sat, 23 Jul 2016 15:43:38 -0500 Subject: [PATCH] The documentation optino in the sys tray icon is enabled and working --- src/controller/mainController.py | 1 + src/wxUI/sysTrayIcon.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controller/mainController.py b/src/controller/mainController.py index 82a7f644..4e5dd335 100644 --- a/src/controller/mainController.py +++ b/src/controller/mainController.py @@ -192,6 +192,7 @@ class Controller(object): widgetUtils.connect_event(self.systrayIcon, widgetUtils.MENU, self.update_profile, menuitem=self.systrayIcon.update_profile) widgetUtils.connect_event(self.systrayIcon, widgetUtils.MENU, self.show_hide, menuitem=self.systrayIcon.show_hide) widgetUtils.connect_event(self.systrayIcon, widgetUtils.MENU, self.check_for_updates, menuitem=self.systrayIcon.check_for_updates) + widgetUtils.connect_event(self.systrayIcon, widgetUtils.MENU, self.view_documentation, menuitem=self.systrayIcon.doc) widgetUtils.connect_event(self.systrayIcon, widgetUtils.MENU, self.exit, menuitem=self.systrayIcon.exit) widgetUtils.connect_event(self.systrayIcon, widgetUtils.TASKBAR_LEFT_CLICK, self.taskbar_left_click) widgetUtils.connect_event(self.systrayIcon, widgetUtils.TASKBAR_RIGHT_CLICK, self.taskbar_right_click) diff --git a/src/wxUI/sysTrayIcon.py b/src/wxUI/sysTrayIcon.py index 56578cbb..b1221ee2 100644 --- a/src/wxUI/sysTrayIcon.py +++ b/src/wxUI/sysTrayIcon.py @@ -36,7 +36,6 @@ class SysTrayIcon(wx.TaskBarIcon): self.update_profile = self.menu.Append(wx.ID_ANY, _(u"Update &profile")) self.show_hide = self.menu.Append(wx.ID_ANY, _(u"&Show / hide")) self.doc = self.menu.Append(wx.ID_ANY, _(u"&Documentation")) - self.doc.Enable(False) self.check_for_updates = self.menu.Append(wx.ID_ANY, _(u"Check for &updates")) self.exit = self.menu.Append(wx.ID_ANY, _(u"&Exit"))