aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/eventedit.c2
-rw-r--r--calendar/gui/eventedit.c2
3 files changed, 7 insertions, 2 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index d6e07deabd..c0b2ebc4ed 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,8 @@
+1999-09-01 Miguel de Icaza <miguel@gnu.org>
+
+ * eventedit.c (ee_create_buttons): Make the OK button the default
+ button per Russell's suggestion.
+
1999-08-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
* calendar.c (calendar_object_changed): Modify the
diff --git a/calendar/eventedit.c b/calendar/eventedit.c
index ca7a251792..ea15cd0d7f 100644
--- a/calendar/eventedit.c
+++ b/calendar/eventedit.c
@@ -743,7 +743,7 @@ ee_create_buttons (EventEditor *ee)
gnome_dialog_append_buttons(GNOME_DIALOG(ee),
GNOME_STOCK_BUTTON_OK,
GNOME_STOCK_BUTTON_CANCEL, NULL);
-
+ gnome_dialog_set_default (GNOME_DIALOG (ee), 0);
gnome_dialog_button_connect (GNOME_DIALOG (ee), 0, GTK_SIGNAL_FUNC(ee_ok), ee);
gnome_dialog_button_connect (GNOME_DIALOG (ee), 1, GTK_SIGNAL_FUNC(ee_cancel), ee);
diff --git a/calendar/gui/eventedit.c b/calendar/gui/eventedit.c
index ca7a251792..ea15cd0d7f 100644
--- a/calendar/gui/eventedit.c
+++ b/calendar/gui/eventedit.c
@@ -743,7 +743,7 @@ ee_create_buttons (EventEditor *ee)
gnome_dialog_append_buttons(GNOME_DIALOG(ee),
GNOME_STOCK_BUTTON_OK,
GNOME_STOCK_BUTTON_CANCEL, NULL);
-
+ gnome_dialog_set_default (GNOME_DIALOG (ee), 0);
gnome_dialog_button_connect (GNOME_DIALOG (ee), 0, GTK_SIGNAL_FUNC(ee_ok), ee);
gnome_dialog_button_connect (GNOME_DIALOG (ee), 1, GTK_SIGNAL_FUNC(ee_cancel), ee);