[maemo-commits] [maemo-commits] r19285 - projects/haf/trunk/hildon-input-method-plugins-example/src
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Tue Sep 1 19:06:25 EEST 2009
- Previous message: [maemo-commits] r19284 - in projects/haf/trunk/hildon-input-method-plugins-example: . src
- Next message: [maemo-commits] r19286 - in projects/haf/trunk/libmatchbox2: . matchbox/core
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: femorandeira Date: 2009-09-01 19:06:12 +0300 (Tue, 01 Sep 2009) New Revision: 19285 Modified: projects/haf/trunk/hildon-input-method-plugins-example/src/hildon-im-example-fkb.c Log: corrected the way of closing the FKB; this requires changes in the HIM UI Modified: projects/haf/trunk/hildon-input-method-plugins-example/src/hildon-im-example-fkb.c =================================================================== --- projects/haf/trunk/hildon-input-method-plugins-example/src/hildon-im-example-fkb.c 2009-09-01 15:00:42 UTC (rev 19284) +++ projects/haf/trunk/hildon-input-method-plugins-example/src/hildon-im-example-fkb.c 2009-09-01 16:06:12 UTC (rev 19285) @@ -461,7 +461,6 @@ if (GTK_WIDGET_VISIBLE(GTK_WIDGET(priv->window))) { gtk_widget_hide(GTK_WIDGET(priv->window)); - hildon_im_ui_restore_previous_mode(priv->ui); } } @@ -646,7 +645,14 @@ static void close_fkb (GtkButton *button, gpointer user_data) { - hildon_im_example_fkb_disable(HILDON_IM_PLUGIN (user_data)); + HildonIMExampleFKB *self; + HildonIMExampleFKBPrivate *priv; + + g_return_if_fail (HILDON_IS_IM_EXAMPLE_FKB (user_data)); + self = HILDON_IM_EXAMPLE_FKB(user_data); + priv = HILDON_IM_EXAMPLE_FKB_GET_PRIVATE(self); + + hildon_im_ui_restore_previous_mode(priv->ui); } static void
- Previous message: [maemo-commits] r19284 - in projects/haf/trunk/hildon-input-method-plugins-example: . src
- Next message: [maemo-commits] r19286 - in projects/haf/trunk/libmatchbox2: . matchbox/core
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]