summaryrefslogtreecommitdiff
path: root/debian/patches/0014-Make-the-menu-of-the-hp-systray-applet-appearing-whe.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0014-Make-the-menu-of-the-hp-systray-applet-appearing-whe.patch')
-rw-r--r--debian/patches/0014-Make-the-menu-of-the-hp-systray-applet-appearing-whe.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/debian/patches/0014-Make-the-menu-of-the-hp-systray-applet-appearing-whe.patch b/debian/patches/0014-Make-the-menu-of-the-hp-systray-applet-appearing-whe.patch
new file mode 100644
index 000000000..2590fddf0
--- /dev/null
+++ b/debian/patches/0014-Make-the-menu-of-the-hp-systray-applet-appearing-whe.patch
@@ -0,0 +1,25 @@
+From: Till Kamppeter <till.kamppeter@gmail.com>
+Date: Fri, 22 Jul 2016 09:33:01 +0200
+Subject: Make the menu of the hp-systray applet appearing when the applet is
+ converted to an indicator applet by sni-qt and put into the notification
+ area of KDE
+
+LP: #857929
+---
+ ui5/systemtray.py | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/ui5/systemtray.py b/ui5/systemtray.py
+index 8888dec..ec3574f 100644
+--- a/ui5/systemtray.py
++++ b/ui5/systemtray.py
+@@ -576,6 +576,9 @@ class SystemTrayApp(QApplication):
+
+ 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: