diff options
author | Chris Toshok <toshok@ximian.com> | 2004-03-23 02:25:10 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2004-03-23 02:25:10 +0800 |
commit | 506d497cd5ee622a19e3674678c75fe86bc5c34d (patch) | |
tree | f483bc0b83cec7ccedd6d58ea4618ddf0f972aef /addressbook | |
parent | 892969d0d5ed5e5f4c9f7e1a99deadf515aed2ef (diff) | |
download | gsoc2013-evolution-506d497cd5ee622a19e3674678c75fe86bc5c34d.tar gsoc2013-evolution-506d497cd5ee622a19e3674678c75fe86bc5c34d.tar.gz gsoc2013-evolution-506d497cd5ee622a19e3674678c75fe86bc5c34d.tar.bz2 gsoc2013-evolution-506d497cd5ee622a19e3674678c75fe86bc5c34d.tar.lz gsoc2013-evolution-506d497cd5ee622a19e3674678c75fe86bc5c34d.tar.xz gsoc2013-evolution-506d497cd5ee622a19e3674678c75fe86bc5c34d.tar.zst gsoc2013-evolution-506d497cd5ee622a19e3674678c75fe86bc5c34d.zip |
[ fixes bug #53653, and a couple other instances ]
2004-03-22 Chris Toshok <toshok@ximian.com>
[ fixes bug #53653, and a couple other instances ]
* gui/widgets/eab-gui-util.c (file_exists): REJECT -> CANCEL, so
esc works (patch from Pratik V. Parikh <pratikvp@despammed.com>)
(save_it): REJECT -> CANCEL.
(eab_select_source): same.
svn path=/trunk/; revision=25146
Diffstat (limited to 'addressbook')
-rw-r--r-- | addressbook/ChangeLog | 9 | ||||
-rw-r--r-- | addressbook/gui/widgets/eab-gui-util.c | 6 |
2 files changed, 12 insertions, 3 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 31baa3aacf..27e23fed75 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,12 @@ +2004-03-22 Chris Toshok <toshok@ximian.com> + + [ fixes bug #53653, and a couple other instances ] + + * gui/widgets/eab-gui-util.c (file_exists): REJECT -> CANCEL, so + esc works (patch from Pratik V. Parikh <pratikvp@despammed.com>) + (save_it): REJECT -> CANCEL. + (eab_select_source): same. + 2004-03-17 Hans Petter Jansson <hpj@ximian.com> Fixes #53625. diff --git a/addressbook/gui/widgets/eab-gui-util.c b/addressbook/gui/widgets/eab-gui-util.c index 1a5d06f2a2..efa128e93a 100644 --- a/addressbook/gui/widgets/eab-gui-util.c +++ b/addressbook/gui/widgets/eab-gui-util.c @@ -233,7 +233,7 @@ file_exists(GtkFileSelection *filesel, const char *filename) _("%s already exists\nDo you want to overwrite it?"), filename); gtk_dialog_add_buttons (GTK_DIALOG (dialog), - GTK_STOCK_CANCEL, GTK_RESPONSE_REJECT, + GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, _("Overwrite"), GTK_RESPONSE_ACCEPT, NULL); @@ -263,7 +263,7 @@ save_it(GtkWidget *widget, SaveAsInfo *info) case GTK_RESPONSE_ACCEPT : /* Overwrite */ e_write_file(filename, info->vcard, O_WRONLY | O_CREAT | O_TRUNC); break; - case GTK_RESPONSE_REJECT : /* cancel */ + case GTK_RESPONSE_CANCEL : /* cancel */ return; } } else if (error != 0) { @@ -351,7 +351,7 @@ eab_select_source (const gchar *title, const gchar *message, const gchar *select NULL); gtk_window_set_default_size (GTK_WINDOW (dialog), 200, 350); - cancel_button = gtk_dialog_add_button (GTK_DIALOG (dialog), GTK_STOCK_CANCEL, GTK_RESPONSE_REJECT); + cancel_button = gtk_dialog_add_button (GTK_DIALOG (dialog), GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL); ok_button = gtk_dialog_add_button (GTK_DIALOG (dialog), GTK_STOCK_OK, GTK_RESPONSE_ACCEPT); gtk_widget_set_sensitive (ok_button, FALSE); |