2006-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
authorMichael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
Thu, 14 Sep 2006 07:29:48 +0000 (07:29 +0000)
committerMichael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
Thu, 14 Sep 2006 07:29:48 +0000 (07:29 +0000)
* hildon-widgets/hildon-date-editor.c: Bring focus to date after the
date has been choosen in the calendar popup.

* hildon-widgets/hildon-time-editor.c: Bring focus to time after
time has been choosen in the time picker. Fixes #NB39565.

ChangeLog
hildon-widgets/hildon-date-editor.c
hildon-widgets/hildon-time-editor.c

index afa97fa..e53a245 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2006-09-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
+
+       * hildon-widgets/hildon-date-editor.c: Bring focus to date after the
+       date has been choosen in the calendar popup.
+
+       * hildon-widgets/hildon-time-editor.c: Bring focus to time after 
+       time has been choosen in the time picker. Fixes #NB39565.
+
 2006-09-13  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
 
        [Merging the atk-branch fixes]
index 0d7679e..3ebff5d 100644 (file)
@@ -878,6 +878,7 @@ static void popup_calendar_dialog(HildonDateEditor *ed)
         hildon_calendar_popup_get_date(HILDON_CALENDAR_POPUP(popup), &y,
                                        &m, &d);
         hildon_date_editor_set_date(ed, y, m, d);
+        gtk_widget_grab_focus (GTK_WIDGET (ed));
     }
 
     gtk_widget_destroy(popup);
index 7638837..e3513cb 100644 (file)
@@ -1612,6 +1612,7 @@ hildon_time_editor_icon_clicked(GtkWidget * widget, gpointer data)
         /* Use the selected time */
         hildon_time_picker_get_time(HILDON_TIME_PICKER(picker), &h, &m);
         hildon_time_editor_set_time(editor, h, m, 0);
+        gtk_widget_grab_focus (editor);
         break;
     default:
         break;