1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
#! /bin/sh /usr/share/dpatch/dpatch-run
## hp-systray-make-menu-appear-in-sni-qt-indicator-with-kde.patch.dpatch by <till.kamppeter@gmail.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.
@DPATCH@
--- a/ui4/systemtray.py
+++ b/ui4/systemtray.py
@@ -548,6 +548,9 @@
elif reason == QSystemTrayIcon.Trigger:
#print "single click"
+ self.updateMenu()
+ if not self.menu is None:
+ self.menu.popup(QCursor.pos())
pass
elif reason == QSystemTrayIcon.MiddleClick:
|