Launchpad has imported 7 comments from the remote bug at
https://bugzilla.redhat.com/show_bug.cgi?id=552796.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2010-01-06T07:03:38+00:00 fujiwara wrote:

I'd like to add MenuItem on ibus languagebar with bug 550001.

Currently ibus supports CheckMenuItem() and RadioMenuItem() but it seems
ImageMenuItem() doesn't work.

When I apply the patch on bug 550001, ibus puts an error:
ibus.Menu receives type == ibus.PROP_TYPE_NORMAL and call 
gtk.ImageMenuItem(prop)
but the argument is not correct.
I'm attaching the patch.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/533636/comments/0

------------------------------------------------------------------------
On 2010-01-06T07:05:38+00:00 fujiwara wrote:

Created attachment 381928
Patch for ibus menu.py

Attached the patch.
It seems to get an error when gtk.ImageMenuItem.__init__() is called so I 
removed it.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/533636/comments/1

------------------------------------------------------------------------
On 2010-01-06T08:48:45+00:00 fujiwara wrote:

Comment on attachment 381928
Patch for ibus menu.py

>diff --git a/ui/gtk/menu.py b/ui/gtk/menu.py

One typo. Both icon and label can be shown:

              self.set_image(icon.IconWidget(prop.icon, size[0]))
-+        elif self._prop.label:
++        if self._prop.label:
 +            self.set_property("label", prop.label.get_text())

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/533636/comments/2

------------------------------------------------------------------------
On 2010-01-07T03:44:26+00:00 fujiwara wrote:

Put ibus-anthy for ImageMenuItem:
http://koji.fedoraproject.org/koji/taskinfo?taskID=1906442

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/533636/comments/3

------------------------------------------------------------------------
On 2010-01-07T04:22:06+00:00 fujiwara wrote:

F11 pygtk2 had a problem:
http://git.gnome.org/browse/pygtk/commit/?id=fbb3e653ab1c4f467d7aae61e8444fab8c839af1
--- a/gtk/gtk.override
+++ b/gtk/gtk.override
@@ -2064,24 +2066,20 @@ _wrap_gtk_image_menu_item_new(PyGObject *self, PyObject 
*args,PyObject *kwargs)
-
- if (pyg_type_from_object((PyObject *) self) != GTK_TYPE_IMAGE_MENU_ITEM) {
- PyErr_SetString(PyExc_RuntimeError, "__gobject_init__ must be used "
- "when subclassing gtk.ImageMenuItem");
- return -1;
- }
-
- pygobject_register_wrapper((PyObject *)self);

The previous pygtk sent the error: "__gobject_init__ must be used when
subclassing gtk.ImageMenuItem".

But I confirmed f12 _gtk.so is fixed so this part is not needed now.
I logged this issue for the reference.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/533636/comments/4

------------------------------------------------------------------------
On 2010-01-07T05:15:26+00:00 Peng wrote:

Fixed in upstream. I will build it soon.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/533636/comments/5

------------------------------------------------------------------------
On 2010-01-11T06:49:37+00:00 Peng wrote:

Fixed in ibus-1.2.0.20100111-1.fc13

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/533636/comments/6


** Changed in: ibus (Fedora)
       Status: Unknown => Fix Released

** Changed in: ibus (Fedora)
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/533636

Title:
  ibus languagebar doesn't show MenuItem on menu.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/533636/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to