diff options
author | Till Kamppeter <till.kamppeter@gmail.com> | 2016-07-22 09:33:01 +0200 |
---|---|---|
committer | Didier Raboud <odyx@debian.org> | 2016-07-21 07:45:22 +0200 |
commit | bdec1fe37341e1dbfdc653bcd1605a12aa761ac3 (patch) | |
tree | a600acf2f1dd86c9d03048a3ffa447aaa4e5d83d /ui5/systemtray.py | |
parent | dbe0c0b48da4a513d90cedf635355c86cfef2c36 (diff) |
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
Patch-Name: hp-systray-make-menu-appear-in-sni-qt-indicator-with-kde.patch
Diffstat (limited to 'ui5/systemtray.py')
-rw-r--r-- | ui5/systemtray.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui5/systemtray.py b/ui5/systemtray.py index 8888dec6d..ec3574f1b 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: |