[maemo-commits] [maemo-commits] r19015 - in projects/haf/trunk/hildon-input-method-plugins-example: . src
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Fri Jul 31 14:21:15 EEST 2009
- Previous message: [maemo-commits] r19014 - in projects/haf/trunk/hildon-input-method-plugins-example: . m4 src
- Next message: [maemo-commits] r19016 - in projects/haf/trunk/hildon-welcome: . data debian src
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: murrayc Date: 2009-07-31 14:21:10 +0300 (Fri, 31 Jul 2009) New Revision: 19015 Modified: projects/haf/trunk/hildon-input-method-plugins-example/ChangeLog projects/haf/trunk/hildon-input-method-plugins-example/README projects/haf/trunk/hildon-input-method-plugins-example/src/him-vkb-example.c Log: 2009-07-31 Murray Cumming <murrayc at murrayc.com> * README: Mention more gconf keys that I have discovered, but which still do not seem to enable the example virtual keyboard. * src/him-vkb-example.c: ifdef out uses of the hildon_im_ui_button*() functions that have been removed from the API (without explanation). Modified: projects/haf/trunk/hildon-input-method-plugins-example/ChangeLog =================================================================== --- projects/haf/trunk/hildon-input-method-plugins-example/ChangeLog 2009-07-31 11:21:03 UTC (rev 19014) +++ projects/haf/trunk/hildon-input-method-plugins-example/ChangeLog 2009-07-31 11:21:10 UTC (rev 19015) @@ -1,3 +1,10 @@ +2009-07-31 Murray Cumming <murrayc at murrayc.com> + + * README: Mention more gconf keys that I have discovered, but which still + do not seem to enable the example virtual keyboard. + * src/him-vkb-example.c: ifdef out uses of the hildon_im_ui_button*() + functions that have been removed from the API (without explanation). + 2009-06-25 Murray Cumming <murrayc at murrayc.com> * m4/dk-warn.m4: Added this file, providing the DK_ARG_ENABLE_WARNINGS Modified: projects/haf/trunk/hildon-input-method-plugins-example/README =================================================================== --- projects/haf/trunk/hildon-input-method-plugins-example/README 2009-07-31 11:21:03 UTC (rev 19014) +++ projects/haf/trunk/hildon-input-method-plugins-example/README 2009-07-31 11:21:10 UTC (rev 19015) @@ -1,5 +1,19 @@ Visit http://live.gnome.org/Hildon/HildonInputMethod After installing, you can activate the plugin like so: -gconftool-2 --type string --set /apps/osso/inputmethod/input_method_plugin "himExample_vkb" + gconftool-2 --type string --set /apps/osso/inputmethod/input_method_plugin "himExample_vkb" +Or this might be the new way with Maemo Fremantle: + gconftool-2 --type bool --set /apps/osso/inputmethod/use_finger_kb true + gconftool-2 --type string --set /apps/osso/inputmethod/default-plugins/finger "himExample_vkb" +(See also + /apps/osso/inputmethod/default-plugins/hw-keyboard +and + /apps/osso/inputmethod/default-plugins/stylus +) + +And these might be helpful: + gconftool-2 -t bool -s /apps/osso/inputmethod/have-internal-keyboard true + gconftool-2 --type bool --set /system/osso/af/slide-open false + +TODO: Add the URL of actual documentation about these gconf keys. Modified: projects/haf/trunk/hildon-input-method-plugins-example/src/him-vkb-example.c =================================================================== --- projects/haf/trunk/hildon-input-method-plugins-example/src/him-vkb-example.c 2009-07-31 11:21:03 UTC (rev 19014) +++ projects/haf/trunk/hildon-input-method-plugins-example/src/him-vkb-example.c 2009-07-31 11:21:10 UTC (rev 19015) @@ -423,6 +423,7 @@ vkb = HIMEXAMPLE_VKB (plugin); priv = HIMEXAMPLE_VKB_GET_PRIVATE (vkb); +#ifdef MURRAYC_HILDON_IM_UI_BROKEN if (init == TRUE) { hildon_im_ui_button_set_toggle (priv->ui, @@ -434,6 +435,7 @@ hildon_im_ui_button_set_label (priv->ui, HILDON_IM_BUTTON_MODE_B, "Shift"); } +#endif hildon_im_ui_send_communication_message(priv->ui, HILDON_IM_CONTEXT_DIRECT_MODE); @@ -483,6 +485,7 @@ vkb = HIMEXAMPLE_VKB (plugin); +#ifdef MURRAYC_HILDON_IM_UI_BROKEN priv = HIMEXAMPLE_VKB_GET_PRIVATE (vkb); if (hildon_im_ui_button_get_active (priv->ui, HILDON_IM_BUTTON_MODE_B)) { @@ -502,6 +505,7 @@ priv->case_mode = CASE_LOWER; } } +#endif update_layout (vkb); } @@ -517,6 +521,7 @@ priv = HIMEXAMPLE_VKB_GET_PRIVATE (vkb); +#ifdef MURRAYC_HILDON_IM_UI_BROKEN if (hildon_im_ui_button_get_active (priv->ui, HILDON_IM_BUTTON_MODE_B)) { if (hildon_im_ui_button_get_active (priv->ui, @@ -533,6 +538,7 @@ priv->case_mode = CASE_LOWER; } } +#endif update_layout (vkb); } @@ -783,6 +789,7 @@ memcpy (text, key->lower, key->lower_length); } +#ifdef MURRAYC_HILDON_IM_UI_BROKEN if (hildon_im_ui_button_get_active (priv->ui, HILDON_IM_BUTTON_MODE_B)) { hildon_im_ui_button_set_active (priv->ui, @@ -795,6 +802,7 @@ } update_layout (vkb); } +#endif hildon_im_ui_send_utf8(priv->ui, text); } }
- Previous message: [maemo-commits] r19014 - in projects/haf/trunk/hildon-input-method-plugins-example: . m4 src
- Next message: [maemo-commits] r19016 - in projects/haf/trunk/hildon-welcome: . data debian src
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]