Package: hplip / 3.22.10+dfsg0-2

0014-Make-the-menu-of-the-hp-systray-applet-appearing-whe.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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 e64d2c5..2734feb 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: