aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnna Marie Dirks <anna@helixcode.com>2000-10-17 23:47:06 +0800
committerAnna Dirks <anna@src.gnome.org>2000-10-17 23:47:06 +0800
commit66492867d6c19d5378ff2b25147b662cf8e528a1 (patch)
treef601e9a09eb9930bc99f25320495aa2646156fdd
parentbcfa612cf3ff526c4de888ebe4296f5af0ebaec4 (diff)
downloadgsoc2013-evolution-66492867d6c19d5378ff2b25147b662cf8e528a1.tar
gsoc2013-evolution-66492867d6c19d5378ff2b25147b662cf8e528a1.tar.gz
gsoc2013-evolution-66492867d6c19d5378ff2b25147b662cf8e528a1.tar.bz2
gsoc2013-evolution-66492867d6c19d5378ff2b25147b662cf8e528a1.tar.lz
gsoc2013-evolution-66492867d6c19d5378ff2b25147b662cf8e528a1.tar.xz
gsoc2013-evolution-66492867d6c19d5378ff2b25147b662cf8e528a1.tar.zst
gsoc2013-evolution-66492867d6c19d5378ff2b25147b662cf8e528a1.zip
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
-rw-r--r--calendar/gui/event-editor.c8
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);