2012-08-22 15:05:53 +04:00
|
|
|
#! /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@
|
2013-08-26 10:37:49 +04:00
|
|
|
--- a/ui4/systemtray.py
|
|
|
|
+++ b/ui4/systemtray.py
|
|
|
|
@@ -550,6 +550,9 @@
|
2012-08-22 15:05:53 +04:00
|
|
|
|
|
|
|
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:
|