aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Leach <jleach@ximian.com>2001-08-08 01:34:23 +0800
committerJacob Leach <jleach@src.gnome.org>2001-08-08 01:34:23 +0800
commit5aeb8fd585ec785dbb5256beef33b7779b0e71c4 (patch)
tree22fa8f6de05e984c7257290681bfbbe9bb5714a2
parentdb2a3227a2bdcf2626b1e5e54b108a5e9a6b45e2 (diff)
downloadgsoc2013-evolution-5aeb8fd585ec785dbb5256beef33b7779b0e71c4.tar
gsoc2013-evolution-5aeb8fd585ec785dbb5256beef33b7779b0e71c4.tar.gz
gsoc2013-evolution-5aeb8fd585ec785dbb5256beef33b7779b0e71c4.tar.bz2
gsoc2013-evolution-5aeb8fd585ec785dbb5256beef33b7779b0e71c4.tar.lz
gsoc2013-evolution-5aeb8fd585ec785dbb5256beef33b7779b0e71c4.tar.xz
gsoc2013-evolution-5aeb8fd585ec785dbb5256beef33b7779b0e71c4.tar.zst
gsoc2013-evolution-5aeb8fd585ec785dbb5256beef33b7779b0e71c4.zip
Make the OK button the keyboard default instead of Cancel. Bug #4942.
2001-08-07 Jason Leach <jleach@ximian.com> * gui/component/select-names/e-select-names.c (e_select_names_init): Make the OK button the keyboard default instead of Cancel. Bug #4942. svn path=/trunk/; revision=11732
-rw-r--r--addressbook/ChangeLog6
-rw-r--r--addressbook/gui/component/select-names/e-select-names.c1
2 files changed, 7 insertions, 0 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 1e43ef8631..ac88e2d43d 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,9 @@
+2001-08-07 Jason Leach <jleach@ximian.com>
+
+ * gui/component/select-names/e-select-names.c
+ (e_select_names_init): Make the OK button the keyboard default
+ instead of Cancel. Bug #4942.
+
2001-08-06 Radek Doulik <rodo@ximian.com>
* backend/ebook/e-book.c (e_book_op_free): new EBookOp destructor
diff --git a/addressbook/gui/component/select-names/e-select-names.c b/addressbook/gui/component/select-names/e-select-names.c
index f1463f0020..23e660f9ee 100644
--- a/addressbook/gui/component/select-names/e-select-names.c
+++ b/addressbook/gui/component/select-names/e-select-names.c
@@ -479,6 +479,7 @@ e_select_names_init (ESelectNames *e_select_names)
GNOME_STOCK_BUTTON_OK,
GNOME_STOCK_BUTTON_CANCEL,
NULL);
+ gnome_dialog_set_default(GNOME_DIALOG(e_select_names), 0);
gtk_window_set_policy(GTK_WINDOW(e_select_names), FALSE, TRUE, FALSE);