Applying a patch by Tommi to fix the focus behaviour. Fixes: NB#68610.
authorMichael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
Mon, 10 Sep 2007 13:19:23 +0000 (13:19 +0000)
committerMichael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
Mon, 10 Sep 2007 13:19:23 +0000 (13:19 +0000)
ChangeLog
src/hildon-caption.c

index e8823da..949b05c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 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.
 
index e35e76c..f59abd3 100644 (file)
@@ -576,11 +576,10 @@ static gboolean
 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;
 }