Branch: refs/heads/master
  Home:   https://github.com/ibus/ibus
  Commit: 3b3a7ceccbf75f36dee0df45589d79f7e96131f4
      
https://github.com/ibus/ibus/commit/3b3a7ceccbf75f36dee0df45589d79f7e96131f4
  Author: Daiki Ueno <[email protected]>
  Date:   2013-08-14 (Wed, 14 Aug 2013)

  Changed paths:
    M bus/engineproxy.c
    M bus/engineproxy.h
    M bus/inputcontext.c
    M client/gtk2/ibusimcontext.c
    M src/ibusengine.c
    M src/ibusengine.h
    M src/ibusinputcontext.c
    M src/ibusinputcontext.h
    M src/ibustypes.h

  Log Message:
  -----------
  Notify engines of the content-type of input context

Add a new D-Bus method SetContentType to InputContext and Engine, to
notify engines of the content-type (primary purpose and hints) of
input context.  This is useful to implement intelligent features in
engines, such as automatic input-mode switch and text prediction.

The "purpose" and "hints" arguments are compatible with
GtkInputPurpose and GtkInputHints:
https://developer.gnome.org/gtk3/unstable/GtkEntry.html#GtkInputPurpose
https://developer.gnome.org/gtk3/unstable/GtkEntry.html#GtkInputHints

and the API is similar to the content_type event in the Wayland Input
Method Framework:
http://cgit.freedesktop.org/wayland/weston/tree/protocol/input-method.xml#n202

BUG=

Review URL: https://codereview.appspot.com/11422043



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

回复