From 37aafec3322fc29af72054ad9e1cac346ce7e3b9 Mon Sep 17 00:00:00 2001 From: fuzzgun Date: Tue, 7 May 2013 22:58:47 +0100 Subject: [PATCH] Application indicator separators --- src/bitmessageqt/__init__.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/bitmessageqt/__init__.py b/src/bitmessageqt/__init__.py index 9d205fb1..352f9091 100644 --- a/src/bitmessageqt/__init__.py +++ b/src/bitmessageqt/__init__.py @@ -508,6 +508,11 @@ class MyForm(QtGui.QMainWindow): self.actionStatus = QtGui.QAction('Not Connected',m,checkable=False) m.addAction(self.actionStatus) + # separator + actionSeparator = QtGui.QAction('',m,checkable=False) + actionSeparator.setSeparator(True) + m.addAction(actionSeparator) + # show bitmessage self.actionShow = QtGui.QAction('Show Bitmessage',m,checkable=True) self.actionShow.setChecked(True) @@ -529,6 +534,12 @@ class MyForm(QtGui.QMainWindow): actionAddressBook.triggered.connect(self.appIndicatorAddressBook) m.addAction(actionAddressBook) + # separator + actionSeparator = QtGui.QAction('',m,checkable=False) + actionSeparator.setSeparator(True) + m.addAction(actionSeparator) + + # Quit m.addAction("Quit", self.close) app.tray.setContextMenu(m) app.tray.show()