On Mon, Feb 16, at 05:44 Ken Moffat wrote: > On Mon, Feb 16, 2009 at 07:28:09PM +0200, Agathoklis D. Hatzimanikas wrote: > > On Mon, Feb 16, at 04:24 Ken Moffat wrote: > > > line 1427, in populateList > > > default_emblem = theme.load_icon (emblem, w/2, 0) > > > glib.GError: Icon 'emblem-default' not present in theme > > > > I've had a quick look to the system-config-printer.py and to the > > config.py > > > > pkgdata = config.pkgdatadir > > iconpath = os.path.join (pkgdata, 'icons/') > > > > So, Is there any /usr/local/share/system-config-printer/icons directory? > > What if you copy the emblem-default.png in that directory? > > > Thanks, the directory existed: > r...@bluesbreaker /usr/share/system-config-printer/icons #ls -l > total 4 > -rw-r--r-- 1 root root 1762 2009-02-16 15:56 i-network-printer.png > r...@bluesbreaker /usr/share/system-config-printer/icons #file > i-network-printer.png > i-network-printer.png: PNG image, 48 x 48, 8-bit/color RGBA, > non-interlaced > > so I copied in > /usr/share/icons/HighContrastLargePrint/48x48/emblems/emblem-default.png > > Unfortunately, it didn't make any difference. Also tried the svg > icon.
Okey, some more relative lines (I am just shooting in the dark, because I don't have all the toolchain): default_emblem = theme.load_icon (emblem, w/2, 0) theme = gtk.icon_theme_get_default () So, you have to find the gtk module and look for the icon_theme_get_default function and follow the path from there. You probably can escape all this trouble, if you know (I don't) how to setup and change icon themes in gtkrc or in the relative config file for gtk. > ĸen Regards, Ag. -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
