[maemo-commits] [maemo-commits] r12945 - projects/haf/trunk/gtk+/gtk
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Tue Jul 31 12:56:40 EEST 2007
- Previous message: [maemo-commits] r12943 - projects/haf/trunk/gtk+/gtk
- Next message: [maemo-commits] r12946 - projects/haf/tags/hildon-home-webshortcut
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: xan Date: 2007-07-31 12:56:38 +0300 (Tue, 31 Jul 2007) New Revision: 12945 Modified: projects/haf/trunk/gtk+/gtk/gtkentry.c Log: Queue a resize on the completion popup when the entry allocation changes. Modified: projects/haf/trunk/gtk+/gtk/gtkentry.c =================================================================== --- projects/haf/trunk/gtk+/gtk/gtkentry.c 2007-07-31 09:56:34 UTC (rev 12944) +++ projects/haf/trunk/gtk+/gtk/gtkentry.c 2007-07-31 09:56:38 UTC (rev 12945) @@ -1578,6 +1578,9 @@ * be affected by the usize of the entry, if set */ gint x, y, width, height; +#if defined(MAEMO_CHANGES) + GtkEntryCompletion *completion; +#endif get_widget_window_size (entry, &x, &y, &width, &height); @@ -1590,6 +1593,12 @@ x, y, width, height); gtk_entry_recompute (entry); + +#if defined(MAEMO_CHANGES) + completion = gtk_entry_get_completion (entry); + if (completion && GTK_WIDGET_MAPPED (completion->priv->popup_window)) + gtk_widget_queue_resize (completion->priv->popup_window); +#endif } }
- Previous message: [maemo-commits] r12943 - projects/haf/trunk/gtk+/gtk
- Next message: [maemo-commits] r12946 - projects/haf/tags/hildon-home-webshortcut
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]