aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--SysIndicator.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/SysIndicator.py b/SysIndicator.py
index b86048a..2f7689c 100644
--- a/SysIndicator.py
+++ b/SysIndicator.py
@@ -105,8 +105,6 @@ class UniversalMenu:
def __init__(self):
if sys.platform=="linux2" or sys.platform=="win32":
self.gtk_menu = gtk.Menu()
- self.gtk_quite_item = MenuItem("Quit",sys.exit).gtk_item
- self.gtk_menu.append(self.gtk_quite_item)
elif sys.platform=="darwin":
self.actions = {}
self.menubarMenu = NSMenu.alloc().init()
@@ -115,9 +113,7 @@ class UniversalMenu:
def append(self,MenuItem):
if sys.platform=="linux2" or sys.platform=="win32":
- self.gtk_menu.remove(self.gtk_quite_item)
self.gtk_menu.append(MenuItem.gtk_item)
- self.gtk_menu.append(self.gtk_quite_item)
elif sys.platform=="darwin":
self.actions[MenuItem.title] = MenuItem.action
self.menubarMenu.addItem_(MenuItem.nsmenu_item)