2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
+ * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
+ behaviour. Fixes: NB#68610.
+
+2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
+
* src/hildon-banner.c: Actually reverting the previous change. It somehow
looks a bit worse.
hildon_caption_button_press (GtkWidget *widget,
GdkEventButton *event)
{
- HildonCaptionPrivate *priv = HILDON_CAPTION_GET_PRIVATE (widget);
- g_assert (priv);
-
- priv->is_focused = TRUE;
gtk_widget_grab_focus (GTK_BIN (widget)->child);
+
+ /* we'll update our focused state in set-focus when/if the child receives
+ * focus */
return FALSE;
}