self.quitAction = QtGui.QAction("&Quit", self,
triggered=QtGui.qApp.quit)
+
def createTrayIcon(self):
self.trayIconMenu = QtGui.QMenu(self)
self.trayIconMenu.addAction(self.manageprofiles)
self.trayIconMenu.addSeparator()
self.trayIconMenu.addAction(self.quitAction)
- self.trayIcon = QtGui.QSystemTrayIcon(self)
+ self.trayIcon = QtGui.QSystemTrayIcon(QtGui.QIcon(appconf.icon), self.app)
self.trayIcon.setContextMenu(self.trayIconMenu)
+ #baloon on hover
self.trayIcon.setToolTip(appconf.appname+" "+appconf.appversion+"\nRight Click to manage profiles.")