From 2309914bcdd4aaeba4f088ba86c241551b51a8a3 Mon Sep 17 00:00:00 2001 From: Michael Dominic Kostrzewa Date: Thu, 14 Sep 2006 07:29:48 +0000 Subject: [PATCH] 2006-09-14 Michael Dominic Kostrzewa * 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 | 8 ++++++++ hildon-widgets/hildon-date-editor.c | 1 + hildon-widgets/hildon-time-editor.c | 1 + 3 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index afa97fa..e53a245 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2006-09-14 Michael Dominic Kostrzewa + + * 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 [Merging the atk-branch fixes] diff --git a/hildon-widgets/hildon-date-editor.c b/hildon-widgets/hildon-date-editor.c index 0d7679e..3ebff5d 100644 --- a/hildon-widgets/hildon-date-editor.c +++ b/hildon-widgets/hildon-date-editor.c @@ -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); diff --git a/hildon-widgets/hildon-time-editor.c b/hildon-widgets/hildon-time-editor.c index 7638837..e3513cb 100644 --- a/hildon-widgets/hildon-time-editor.c +++ b/hildon-widgets/hildon-time-editor.c @@ -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; -- 1.7.9.5