I've added your patch to the Qt3 hp-systray code and a similar code change
to the Qt4 hp-systray. Both of these changes will be in HPLIP 3.9.6.

One question: I don't quite understand what code in ui4/devmgr5.py needs to
change for this feature?

On Wed, May 13, 2009 at 3:51 AM, Mirco Müller
<mirco.muel...@ubuntu.com>wrote:

> Bug https://bugs.edge.launchpad.net/hplip/+bug/354451 filed against
> HPLIP indicates HPLIP not using a libnotify-based notification-system
> correctly. Thus notifications are no passed via DBus according to the
> specs (https://wiki.ubuntu.com/NotifyOSD, http://www.galago-
> project.org/specs/notification/0.9/). HPLIP needs to be patched to use
> libnotify.
>
> >From my investigations in the qt3 version of hplip only
> hplip/ui/systemtray.py needs to be changed. For that I attached a patch.
> It would be nice if someone could test/verify that, because I don't have
> any HP-hardware to properly use hplip with.
>
> The qt4 version of hplip is using showMessage, which is a method of
> QSysTray. There are three occurances in hplip/ui4/systemtray.py and six
> occurances in hplip/ui4/devmgr5.py which have to be adapted to use
> libnotify. As a guide for what calls to use see the icon-summary-body.py
> example of https://edge.launchpad.net/notify-osd (notify-osd/examples
> /icon-summary-body.py). Or just take a look at the attached patch for
> the qt3 version of hplip.
>
>
> ** Attachment added: "patch for qt3-version of hplip to use libnotify"
>   http://launchpadlibrarian.net/26668579/use_libnotify_qt3.patch
>
> --
> hplip notifications do not integrate
> https://bugs.launchpad.net/bugs/373773
> You received this bug notification because you are a member of HP Linux
> Imaging and Printing, which is subscribed to HPLIP.
>

-- 
hplip notifications do not integrate
https://bugs.launchpad.net/bugs/373773
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to