aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog4
-rw-r--r--calendar/gncal-todo.c1
-rw-r--r--calendar/gui/gncal-todo.c1
3 files changed, 6 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index a63dfd600c..9f6e7440f1 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,7 @@
+Sun May 17 17:55:03 1998 Havoc Pennington <hp@pobox.com>
+
+ * gncal-todo.c (simple_todo_editor): Close dialog when return is pressed.
+
1998-05-15 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gnome-cal.c (mark_gtk_calendar_day): Bug free version of the
diff --git a/calendar/gncal-todo.c b/calendar/gncal-todo.c
index 01da675d15..d527d6ff09 100644
--- a/calendar/gncal-todo.c
+++ b/calendar/gncal-todo.c
@@ -128,6 +128,7 @@ simple_todo_editor (GncalTodo *todo, iCalObject *ico)
dialog);
gnome_dialog_set_default (GNOME_DIALOG (dialog), 0);
+ gnome_dialog_editable_enters (GNOME_DIALOG (dialog), GTK_EDITABLE(entry));
gtk_window_position (GTK_WINDOW (dialog), GTK_WIN_POS_MOUSE);
gtk_widget_show (dialog);
diff --git a/calendar/gui/gncal-todo.c b/calendar/gui/gncal-todo.c
index 01da675d15..d527d6ff09 100644
--- a/calendar/gui/gncal-todo.c
+++ b/calendar/gui/gncal-todo.c
@@ -128,6 +128,7 @@ simple_todo_editor (GncalTodo *todo, iCalObject *ico)
dialog);
gnome_dialog_set_default (GNOME_DIALOG (dialog), 0);
+ gnome_dialog_editable_enters (GNOME_DIALOG (dialog), GTK_EDITABLE(entry));
gtk_window_position (GTK_WINDOW (dialog), GTK_WIN_POS_MOUSE);
gtk_widget_show (dialog);