Commit 35db0c4ee53d1a597f12b9284ab6e302a281e968
1 parent
7a44c725
Exists in
master
and in
68 other branches
STL: Commented task bar icon
Showing
1 changed file
with
4 additions
and
4 deletions
Show diff stats
invesalius/gui/frame.py
| ... | ... | @@ -63,7 +63,7 @@ class Frame(wx.Frame): |
| 63 | 63 | self.SetStatusBar(StatusBar(self)) |
| 64 | 64 | |
| 65 | 65 | # Set TaskBarIcon |
| 66 | - TaskBarIcon(self) | |
| 66 | + #TaskBarIcon(self) | |
| 67 | 67 | |
| 68 | 68 | # Create aui manager and insert content in it |
| 69 | 69 | self.__init_aui() |
| ... | ... | @@ -608,9 +608,9 @@ class StatusBar(wx.StatusBar): |
| 608 | 608 | class TaskBarIcon(wx.TaskBarIcon): |
| 609 | 609 | """ |
| 610 | 610 | TaskBarIcon has different behaviours according to the platform: |
| 611 | - - win32: Show icon on "Notification Area" at "Task Bar" | |
| 611 | + - win32: Show icon on "Notification Area" (near clock) | |
| 612 | 612 | - darwin: Show icon on Dock |
| 613 | - - linux2: ? - TODO: find what it does | |
| 613 | + - linux2: Show icon on "Notification Area" (near clock) | |
| 614 | 614 | """ |
| 615 | 615 | def __init__(self, parent=None): |
| 616 | 616 | wx.TaskBarIcon.__init__(self) |
| ... | ... | @@ -624,7 +624,7 @@ class TaskBarIcon(wx.TaskBarIcon): |
| 624 | 624 | # bind some events |
| 625 | 625 | self.Bind(wx.EVT_TASKBAR_LEFT_DCLICK, self.OnTaskBarActivate) |
| 626 | 626 | |
| 627 | - def OnTaskBarActivate(self): | |
| 627 | + def OnTaskBarActivate(self, evt): | |
| 628 | 628 | pass |
| 629 | 629 | |
| 630 | 630 | # ------------------------------------------------------------------ | ... | ... |