2015-02-18 13:14 GMT+01:00 Tim Waugh <twaugh(a)redhat.com>:
Take a look for 'composite' in system-config-printer.py. It uses this
method to compose the icon with both the 'default' emblem and any other
state emblem as needed.
Thanks.
Strange, and I don't really understand why, but it seems that this
patch fix the problem
Index: system-config-printer.py
===================================================================
--- system-config-printer.py
+++ system-config-printer.py 2015-02-21 12:45:22.619980289 +0100
@@ -1000,7 +1000,7 @@
copy.fill (0)
pixbuf.composite (copy, 0, 0,
copy.get_width(), copy.get_height(),
- 0, 0, 1.0, 1.0,
+ 0, 0, 1.01, 1.01,
GdkPixbuf.InterpType.BILINEAR, 127)
pixbuf = copy
@@ -1013,7 +1013,7 @@
copy.get_width (),
copy.get_height (),
0, 0,
- 1.0, 1.0,
+ 1.01, 1.01,
GdkPixbuf.InterpType.NEAREST, 255)
pixbuf = copy
except GLib.GError:
@@ -1029,7 +1029,7 @@
copy.get_height (),
copy.get_width () / 2,
copy.get_height () / 2,
- 1.0, 1.0,
+ 1.01, 1.01,
GdkPixbuf.InterpType.NEAREST, 255)
pixbuf = copy
except GLib.GError: