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

New issue 1667 by [email protected]: keyboard(avro) selection from ibus throws an error. Keyboard doesn't switch
http://code.google.com/p/ibus/issues/detail?id=1667

Please *DO NOT* ask question here! Please use
https://groups.google.com/group/ibus-user

请不要在这里提问,请使用ibus用户讨论组
https://groups.google.com/group/ibus-user

What version of the product are you using? On what operating system? Ubuntu 13.10 3.11.0-12-generic
OS (Linux distributions, UNIX or ...) : Linux
Architecture (i386, x86_64): x86_64
IBus version: 1.5.3-6ubuntu2
Input method name and version:
Python version: 2.7.5+
dbus version: 1.6.12
dbus-python version: 1.2.0-2
gtk version (if bug is about gtk applications):
qt version (if bug is about qt applications):

What steps will reproduce the problem?
1. Install ibus-avro.
2. Add in keyboard list
3. Select avro. Open gedit. Try to write something. It doesn't work, because an error occurred during keyboard selection
4. JS ERROR: TypeError: IBus.Property.new is not a constructor
_create_engine_cb@/usr/share/ibus-avro/main-gjs.js:206
@/usr/share/ibus-avro/main-gjs.js:419


What is the expected output? What do you see instead? Avro doesn't start

Please provide any additional information below.
var propp = new IBus.Property.new(
            'setup',
            IBus.PropType.NORMAL,
            IBus.Text.new_from_string("Preferences - Avro"),
            'gtk-preferences',
            IBus.Text.new_from_string("Configure Avro"),
            true,
            true,
            IBus.PropState.UNCHECKED,
            null
        );
Error: IBus.Property.new is not a constructor

Attachments:
        Screenshot from 2013-10-26 01:32:25.png  90.2 KB

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
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
--- You received this message because you are subscribed to the Google Groups "ibus-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

回复