[maemo-commits] [maemo-commits] r18418 - in projects/haf/trunk/gtk+: . gtk

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Mon May 18 14:21:41 EEST 2009
Author: kris
Date: 2009-05-18 14:21:30 +0300 (Mon, 18 May 2009)
New Revision: 18418

Modified:
   projects/haf/trunk/gtk+/ChangeLog
   projects/haf/trunk/gtk+/gtk/gtktextview.c
Log:
2009-05-18  Kristian Rietveld  <kris at imendio.com>

	Fixes: NB#111809 - word completion candidate is seen though focus is
	moved to other widget

	* gtk/gtktextview.c (gtk_text_view_focus_out): Remove !MAEMO_CHANGES
	markers.  We do want to send focus-out to the IM context here to
	lose the suggested word completion.



Modified: projects/haf/trunk/gtk+/ChangeLog
===================================================================
--- projects/haf/trunk/gtk+/ChangeLog	2009-05-18 11:00:03 UTC (rev 18417)
+++ projects/haf/trunk/gtk+/ChangeLog	2009-05-18 11:21:30 UTC (rev 18418)
@@ -1,5 +1,14 @@
 2009-05-18  Kristian Rietveld  <kris at imendio.com>
 
+	Fixes: NB#111809 - word completion candidate is seen though focus is
+	moved to other widget
+
+	* gtk/gtktextview.c (gtk_text_view_focus_out): Remove !MAEMO_CHANGES
+	markers.  We do want to send focus-out to the IM context here to
+	lose the suggested word completion.
+
+2009-05-18  Kristian Rietveld  <kris at imendio.com>
+
 	Addresses: NB#115510 - Kinetic scrolling too sensitive.
 
 	* gtk/gtktreeview.c (gtk_tree_view_button_release): Actions are

Modified: projects/haf/trunk/gtk+/gtk/gtktextview.c
===================================================================
--- projects/haf/trunk/gtk+/gtk/gtktextview.c	2009-05-18 11:00:03 UTC (rev 18417)
+++ projects/haf/trunk/gtk+/gtk/gtktextview.c	2009-05-18 11:21:30 UTC (rev 18418)
@@ -4463,13 +4463,11 @@
 					keymap_direction_changed,
 					text_view);
 
-#ifndef MAEMO_CHANGES
   if (text_view->editable)
     {
       text_view->need_im_reset = TRUE;
       gtk_im_context_focus_out (GTK_TEXT_VIEW (widget)->im_context);
     }
-#endif /* !MAEMO_CHANGES */
 
   return FALSE;
 }


More information about the maemo-commits mailing list