[Fedora-i18n-bugs] [Bug 545695] provide IME input mode status in panel

bugzilla at redhat.com bugzilla at redhat.com
Fri Dec 18 08:08:04 UTC 2009


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





--- Comment #1 from fujiwara <tfujiwar at redhat.com>  2009-12-18 03:06:36 EDT ---
In quick evaluation, I think we may need C wrapper for ibus to fix this.

To modify GtkStatusIcon image on gnome-panel systray, we need to access
GtkImage in GtkStatusIcon. But GtkImage is a private member in GtkStatusIcon so
python doesn't provide the interface of GtkImage in gtk.StatusIcon.

If we try to provide a custom gtk.Image likes ibus/ui/gtk/icon.py, we need to
access _gtk_tray_icon_new() but the GtkTrayIcon itself is private in gtk so
python also doesn't provide the API.

If we try to provide a custom _gtk_tray_icon_new(), we need to access X11 Atom
but there is no x11 python.

I think dbus C API is not a solution in this case since _gtk_tray_icon_new()
would be need the display.

How about providing a new C wrapper likes /usr/lib/python/ibus/ibusgtk.so ?

-- 
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 Fedora-i18n-bugs mailing list