aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnu.org>1999-09-02 02:26:26 +0800
committerArturo Espinosa <unammx@src.gnome.org>1999-09-02 02:26:26 +0800
commit60436b516d52c29b1d4a647fdd9f1fb942efc94b (patch)
treebcbe246e7ca4b138b893d6230cae268af080ad25 /calendar
parent523a46f844ab6855b6888984c3f7a40a13900d74 (diff)
downloadgsoc2013-evolution-60436b516d52c29b1d4a647fdd9f1fb942efc94b.tar.gz
gsoc2013-evolution-60436b516d52c29b1d4a647fdd9f1fb942efc94b.tar.zst
gsoc2013-evolution-60436b516d52c29b1d4a647fdd9f1fb942efc94b.zip
Make the OK button the default button per Russell's suggestion.
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. svn path=/trunk/; revision=1155
Diffstat (limited to 'calendar')
-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);