New patchutils version

Friday, January 23rd, 2009

I’ve just made patchutils version 0.3.1 available, with a few small improvements.

Reporting ink levels

Wednesday, January 14th, 2009

ink levels

I’ve just added support to system-config-printer for displaying ink and toner levels for printers.  It’s in the 1.1.x branch and will appear in 1.1.2.

(more…)

system-config-printer 1.1.0

Friday, December 19th, 2008

I just made system-config-printer-1.1.0 available.  Below are some of the changes compared to 1.0.12.

(more…)

CUPS, GTK+, Python, and threading

Wednesday, December 17th, 2008

I’ve been trying to prevent a Python GTK+ application (the system-config-printer printing troubleshooter) from appearing to freeze when performing CUPS operations such as fetching a list of available devices.

Let me describe the problem.  In the libcups API the main worker function is cupsDoRequest() and this function blocks until the request is complete.  It may need to collect a password from the caller, in which case it will do this with a password callback function set using cupsSetPasswordCB().

The libcups API is used through a set of Python bindings called pycups, and GTK+ is used for the user interface.  The object of this game is to allow the GTK+ main loop to continue to run even while the CUPS operation is in progress.  I think I’ve got a workable system now.

(more…)

expendable: translations open

Wednesday, October 22nd, 2008

Translations for expendable can now be submitted using Transifex.  Currently there is just a British translation and a partial German translation.