diff options
Diffstat (limited to 'calendar/gui')
-rw-r--r-- | calendar/gui/event-editor.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/calendar/gui/event-editor.c b/calendar/gui/event-editor.c index 7575e1f34d..d70f58e0f6 100644 --- a/calendar/gui/event-editor.c +++ b/calendar/gui/event-editor.c @@ -436,6 +436,8 @@ get_widgets (EventEditor *ee) && priv->exception_date); } + + static const int classification_map[] = { CAL_COMPONENT_CLASS_PUBLIC, CAL_COMPONENT_CLASS_PRIVATE, @@ -552,6 +554,7 @@ clear_widgets (EventEditor *ee) now = time (NULL); /* Summary, description */ + e_dialog_editable_set (priv->general_summary, NULL); e_dialog_editable_set (priv->description, NULL); @@ -1507,6 +1510,11 @@ event_editor_construct (EventEditor *ee) gtk_signal_connect (GTK_OBJECT (priv->app), "delete_event", GTK_SIGNAL_FUNC (app_delete_event_cb), ee); + + /* Add focus to the summary entry */ + + gtk_widget_grab_focus(GTK_OBJECT (priv->general_summary)); + /* Show the dialog */ gtk_widget_show (priv->app); |