Jerome: The point is that in the case where there are no print jobs and no printers (and therefore no icon), it would just be a case of having a simple C program.
There could be a D-Bus method to invoke the jobviewer icon program (running as Python for the first time that session) when there are jobs or state-reasons, and this would be fairly easy to code up. It would be a fair amount more work to have the icon running entirely in C (the application would need to maintain state and examine IPP attributes; i.e. it would now need to link to libcups whereas previously it wouldn't), but maybe that's the way to go. It would be nice to at least have a proof of concept along with some numbers showing exactly how much less memory it uses in various different cases. Watch out though: it's not just signals from cupsd that cause the applet to do things, but also signals from system-config-printer-udev about there being new printers. What I'm saying is that the right way to do it is with D-Bus calls, and that it isn't just trivial. -- the applet is wasting memory https://bugs.launchpad.net/bugs/584175 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
