Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 987 by daiki.ueno: ibus.PROP_TYPE_TOGGLE is mapped to RadioMenuItem
http://code.google.com/p/ibus/issues/detail?id=987

If I have "Show language panel: Embedded in menu", ibus-hangul's "Hanja Lock" prop is rendered as a radio button not a checkbox so it cannot be toggled.

Also when I click on the radio button, I get the following backtrace.
I'm attaching a patch.

Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/dbus/service.py", line 702, in _message_cb
    retval = candidate_method(self, *args, **keywords)
File "/usr/lib/python2.6/site-packages/ibus/panel.py", line 233, in UpdateProperty
    self.__panel.update_property(prop)
  File "/usr/share/ibus/ui/gtk/panel.py", line 182, in update_property
    self.__language_bar.update_property(prop)
  File "/usr/share/ibus/ui/gtk/languagebar.py", line 306, in update_property
    map(lambda x: x.update_property(prop), self.__properties)
  File "/usr/share/ibus/ui/gtk/languagebar.py", line 306, in <lambda>
    map(lambda x: x.update_property(prop), self.__properties)
  File "/usr/share/ibus/ui/gtk/propitem.py", line 29, in update_property
    if self._prop == None:
AttributeError: 'SeparatorMenuItem' object has no attribute '_prop'

Attachments:
        0001-Fix-Show-language-panel-Embedded-in-menu-behavior.patch  2.0 KB

--
You received this message because you are subscribed to the Google
Groups "ibus-devel" group.
iBus project web page: http://code.google.com/p/ibus/
iBus dev group: http://groups.google.com/group/ibus-devel?hl=en

回复