Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37769824
en ru br
ALT Linux repositórios
S:3.23.8-alt1
5.0: 2.8.10-alt3
4.1: 2.8.10-alt2.M41.1
4.0: 2.7.12-alt2.M40.1
+backports:2.8.10-alt2.M40.1
3.0:
+backports:1.6.6a-alt0.M30.4.1

Group :: Edição
RPM: hplip

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: hp-systray-make-menu-appear-in-sni-qt-indicator-with-kde.patch
Download


From 15e61e04f5899f5a1f2b4d5396b88bb4393be0d0 Mon Sep 17 00:00:00 2001
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
Patch-Name: hp-systray-make-menu-appear-in-sni-qt-indicator-with-kde.patch
---
 ui5/systemtray.py | 3 +++
 1 file changed, 3 insertions(+)
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:
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009