[maemo-commits] [maemo-commits] r14112 - in projects/haf/trunk/hildon-input-method: . src

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Wed Sep 26 15:51:37 EEST 2007
Author: tjunnone
Date: 2007-09-26 15:51:35 +0300 (Wed, 26 Sep 2007)
New Revision: 14112

Modified:
   projects/haf/trunk/hildon-input-method/ChangeLog
   projects/haf/trunk/hildon-input-method/src/hildon-im-ui.c
Log:
* src/hildon-im-ui.c: Fixed plugins not receiving the fullscreen
  notification if the IM was already allocated full width at
  startup.


Modified: projects/haf/trunk/hildon-input-method/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-input-method/ChangeLog	2007-09-26 12:49:51 UTC (rev 14111)
+++ projects/haf/trunk/hildon-input-method/ChangeLog	2007-09-26 12:51:35 UTC (rev 14112)
@@ -1,3 +1,9 @@
+2007-09-26  Tomas Junnonen  <tomas.junnonen at nokia.com>
+
+	* src/hildon-im-ui.c: Fixed plugins not receiving the fullscreen
+	  notification if the IM was already allocated full width at
+	  startup.
+
 2007-09-25  Mohammad Anwari  <mdamt at maemo.org>
 
 	* Version 1.99.29

Modified: projects/haf/trunk/hildon-input-method/src/hildon-im-ui.c
===================================================================
--- projects/haf/trunk/hildon-input-method/src/hildon-im-ui.c	2007-09-26 12:49:51 UTC (rev 14111)
+++ projects/haf/trunk/hildon-input-method/src/hildon-im-ui.c	2007-09-26 12:51:35 UTC (rev 14112)
@@ -3036,7 +3036,8 @@
   priv = self->priv;
   info = CURRENT_PLUGIN(self);
 
-  fullscreen = alloc.width > priv->width;
+  fullscreen = alloc.width > priv->width ||
+               priv->width == gdk_screen_get_width(gdk_screen_get_default());
 
   /*allocation for IM area*/
   if (info && info->info->disable_common_buttons == TRUE)


More information about the maemo-commits mailing list