Added focus to the general_summary text entry.

2000-10-17  Anna Marie Dirks  <anna@helixcode.com>
	* gui/event-editor.c: Added focus to the general_summary text entry.

svn path=/trunk/; revision=5964
This commit is contained in:
Anna Marie Dirks
2000-10-17 15:47:06 +00:00
committed by Anna Dirks
parent bcfa612cf3
commit 66492867d6

View File

@ -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);