[Fedora-i18n-bugs] [Bug 678274] [abrt] ibus-1.3.99.20110127-4.fc15: icon.py:38:__init__:GError: Icon 'gtk-missing-image' not present in theme

bugzilla at redhat.com bugzilla at redhat.com
Wed Mar 9 07:24:32 UTC 2011


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=678274

--- Comment #6 from fujiwara <tfujiwar at redhat.com> 2011-03-09 02:24:31 EST ---
(In reply to comment #5)
>   File "/usr/share/ibus/ui/gtk/icon.py", line 38, in __init__
>     pixbuf = theme.load_icon(gtk.STOCK_MISSING_IMAGE, size, 0)
> GError: L'icne gtk-missing-image n'est pas prsente dans le thme

Hmm.., it's a strange result.

> /usr/share/icons/gnome/16x16/status/gtk-missing-image.png -> image-missing.png

Do you also have gnome-icon-theme ?

% rpm -qf /usr/share/icons/gnome/16x16/status/image-missing.png
gnome-icon-theme-2.91.7-4.fc15.noarch
% rpm -qf /usr/share/icons/gnome/16x16/status/gtk-missing-image.png 
gnome-icon-theme-legacy-2.91.7-4.fc15.noarch

How about running the following test program?

% cat a.py
#!/usr/bin/python

import gtk

theme = gtk.icon_theme_get_default()
path = []
n_elements = []
paths = theme.get_search_path()
print "search_paths", paths
pixbuf = theme.load_icon('gtk-missing-image', 16, 0)
print "pixbuf", pixbuf

% python a.py
search_paths ('/home/foo/.icons', '/home/foo/.local/share/icons',
'/usr/local/share/icons', '/usr/share/icons', '/usr/local/share/pixmaps',
'/usr/share/pixmaps')
pixbuf <gtk.gdk.Pixbuf object at 0x17ca870 (GdkPixbuf at 0x18b3140)>

---
Do you get the pixbuf?

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the i18n-bugs mailing list