aboutsummaryrefslogtreecommitdiffstats
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
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
-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);
mat2016-12-072-0/+2 * Update textproc/elasticsearch2-plugin-sql to version 2.4.2.0.olgeni2016-12-062-5/+5 * - Update to 2.1.14tota2016-12-062-4/+5 * - Update to 2.3.2wen2016-12-062-3/+4 * textproc/rubygem-nokogiri: fails to buildswills2016-12-061-0/+1 * Fix plist and distfiles.tj2016-12-069-12/+80 * Update textproc/elasticsearch2-plugin-sql to 2.4.1.olgeni2016-12-052-4/+4 * Update textproc/elixir-ex_doc to version 0.14.5.olgeni2016-12-053-19/+24 * - Remove PORTREVISION=0sunpoet2016-12-051-2/+1 * Update textproc/the_silver_searcher to version 1.0.2.olgeni2016-12-053-5/+12 * Fix pkg-plist which was totally wrongbapt2016-12-052-83/+60 * textproc/rubygem-colorator: Update to 1.1.0feld2016-12-052-4/+5 * - Update to 0.9404sunpoet2016-12-04