Use tray icons stored in bitmessage_icons_rc.py #166

Merged
Atheros1 merged 2 commits from master into master 2013-05-25 20:04:45 +02:00
Showing only changes of commit 7a271dccdd - Show all commits

View File

@ -446,12 +446,10 @@ class MyForm(QtGui.QMainWindow):
else:
if sys.platform[0:3] == 'win':
self.setWindowFlags(Qt.Window)
self.show()
self.setWindowState(self.windowState() & ~QtCore.Qt.WindowMinimized | QtCore.Qt.WindowActive)
else:
self.showMaximized()
#Here is what I believe might be required for darwin:
#self.setWindowState(self.windowState() & ~QtCore.Qt.WindowMinimized | QtCore.Qt.WindowActive)
#else:
#self.showMaximized()
self.show()
self.setWindowState(self.windowState() & ~QtCore.Qt.WindowMinimized | QtCore.Qt.WindowActive)
self.activateWindow()