[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
Thu Mar 10 02:50:40 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 #10 from fujiwara <tfujiwar at redhat.com> 2011-03-09 21:50:39 EST ---
(In reply to comment #9)
> When I click on ibus icon on panel, I have no abrt report.

Do you mean you can show the ibus panel menus without any errors?
If yes, it seems your ibus panel has a different behavior between manual and
ibus-daemon.

Could you try to replace your icon.py with the debug one below?

% wget http://fujiwara.fedorapeople.org/ibus/20110310/icon.py
# cp /usr/share/ibus/ui/gtk/icon.py /usr/share/ibus/ui/gtk/icon.py.orig
# cp icon.py /usr/share/ibus/ui/gtk/icon.py
# diff -u /usr/share/ibus/ui/gtk/icon.py.orig /usr/share/ibus/ui/gtk/icon.py
@@ -27,6 +27,13 @@
     def __init__(self, icon, size):
         super(IconWidget, self).__init__()
         pixbuf = None
+        theme = gtk.icon_theme_get_default()
+        paths = theme.get_search_path()
+        missing_image = gtk.STOCK_MISSING_IMAGE
+        list_icons = theme.list_icons()
+        theme_name = gtk.settings_get_default().props.gtk_theme_name
+        icon_theme_name = gtk.settings_get_default().props.gtk_icon_theme_name
+        pixbuf = theme.load_icon(gtk.STOCK_MISSING_IMAGE, size, 0)
         try:
             if icon.startswith("/"):
                 pixbuf = gdk.pixbuf_new_from_file(icon)

And could you try to attach the result of abrt?
I'm interested in the values of paths, list_icons, theme_name and
icon_theme_name .

-- 
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