From ff5c7760d00eebffc75b3e3f811837ec2afdf4f0 Mon Sep 17 00:00:00 2001 From: fuzzgun Date: Tue, 7 May 2013 22:52:17 +0100 Subject: [PATCH] Application indicator selects tabs --- src/bitmessageqt/__init__.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/bitmessageqt/__init__.py b/src/bitmessageqt/__init__.py index a9ed482d..9d205fb1 100644 --- a/src/bitmessageqt/__init__.py +++ b/src/bitmessageqt/__init__.py @@ -485,20 +485,20 @@ class MyForm(QtGui.QMainWindow): self.show() self.setWindowState(self.windowState() & QtCore.Qt.WindowMaximized) - # TODO + # Show the program window and select send tab def appIndicatorSend(self): - print 'Send' self.appIndicatorShow() + self.ui.tabWidget.setCurrentIndex(1) - # TODO + # Show the program window and select subscriptions tab def appIndicatorSubscribe(self): - print 'Subscribe' self.appIndicatorShow() + self.ui.tabWidget.setCurrentIndex(4) - # TODO + # Show the program window and select the address book tab def appIndicatorAddressBook(self): - print 'Address Book' self.appIndicatorShow() + self.ui.tabWidget.setCurrentIndex(5) # create application indicator def createAppIndicator(self,app):