v.licheni.net
/
stack
/
code
/
dboxswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tooltip in systray
[stack/code/dboxswitch.git]
/
gui.py
diff --git
a/gui.py
b/gui.py
index
c9bd3d5
..
81165a0
100755
(executable)
--- a/
gui.py
+++ b/
gui.py
@@
-37,6
+37,7
@@
import os
from PyQt4 import QtGui
from apperror import AppError
from PyQt4 import QtGui
from apperror import AppError
+from settings import appconf
class Gui(QtGui.QDialog):
def __init__(self, prManager):
class Gui(QtGui.QDialog):
def __init__(self, prManager):
@@
-62,9
+63,7
@@
class Gui(QtGui.QDialog):
self.profileManager = prManager
self.profileManager = prManager
-
-
- def main(self):
+ def main(self):
sys.exit(self.app.exec_())
def closeEvent(self, event):
sys.exit(self.app.exec_())
def closeEvent(self, event):
@@
-86,3
+85,4
@@
class Gui(QtGui.QDialog):
self.trayIcon = QtGui.QSystemTrayIcon(self)
self.trayIcon.setContextMenu(self.trayIconMenu)
self.trayIcon = QtGui.QSystemTrayIcon(self)
self.trayIcon.setContextMenu(self.trayIconMenu)
+ self.trayIcon.setToolTip(appconf.appname+" "+appconf.appversion+"\nRight Click to manage profiles.")