1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## hp-systray-make-menu-appear-in-sni-qt-indicator-with-kde.patch.dpatch by <till.kamppeter@gmail.com>
4 ## All lines beginning with `## DP:' are a description of the patch.
8 diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' hplip-3.11.7~/ui4/systemtray.py hplip-3.11.7/ui4/systemtray.py
9 --- hplip-3.11.7~/ui4/systemtray.py 2011-09-27 16:36:29.656301152 +0200
10 +++ hplip-3.11.7/ui4/systemtray.py 2011-09-27 16:38:47.716834875 +0200
13 elif reason == QSystemTrayIcon.Trigger:
16 + if not self.menu is None:
17 + self.menu.popup(QCursor.pos())
20 elif reason == QSystemTrayIcon.MiddleClick: