mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-26 12:53:12 -06:00
The documentation optino in the sys tray icon is enabled and working
This commit is contained in:
parent
18b52e8909
commit
3c0110528f
@ -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)
|
||||
|
@ -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"))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user