diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2002-03-12 06:16:46 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2002-03-12 06:16:46 +0800 |
commit | b24b3e4ecdf17d041662d2dd71d084c63e8ab58d (patch) | |
tree | 643e2c777a716732450936af384c084ee12899ca /widgets/misc/e-multi-config-dialog.c | |
parent | 3aafc4eaf31c8cbf07feae679acb93f7366b16d7 (diff) | |
download | gsoc2013-evolution-b24b3e4ecdf17d041662d2dd71d084c63e8ab58d.tar.gz gsoc2013-evolution-b24b3e4ecdf17d041662d2dd71d084c63e8ab58d.tar.zst gsoc2013-evolution-b24b3e4ecdf17d041662d2dd71d084c63e8ab58d.zip |
Use GNOME_STOCK_BUTTON_CLOSE, not GNOME_STOCK_BUTTON_CANCEL. (do_close):
* e-multi-config-dialog.c (init): Use GNOME_STOCK_BUTTON_CLOSE,
not GNOME_STOCK_BUTTON_CANCEL.
(do_close): Renamed from `cancel'.
(do_apply): Renamed from `apply'.
(do_ok): Renamed from `ok'.
svn path=/trunk/; revision=16106
Diffstat (limited to 'widgets/misc/e-multi-config-dialog.c')
-rw-r--r-- | widgets/misc/e-multi-config-dialog.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/widgets/misc/e-multi-config-dialog.c b/widgets/misc/e-multi-config-dialog.c index 5100e1cf9f..a843a0178c 100644 --- a/widgets/misc/e-multi-config-dialog.c +++ b/widgets/misc/e-multi-config-dialog.c @@ -182,13 +182,13 @@ page_changed_callback (EConfigPage *page, /* Button handling. */ static void -cancel (EMultiConfigDialog *dialog) +do_close (EMultiConfigDialog *dialog) { gnome_dialog_close (GNOME_DIALOG (dialog)); } static void -apply (EMultiConfigDialog *dialog) +do_apply (EMultiConfigDialog *dialog) { EMultiConfigDialogPrivate *priv; GSList *p; @@ -211,10 +211,10 @@ apply (EMultiConfigDialog *dialog) } static void -ok (EMultiConfigDialog *dialog) +do_ok (EMultiConfigDialog *dialog) { - apply (dialog); - cancel (dialog); + do_apply (dialog); + do_close (dialog); } @@ -356,13 +356,13 @@ impl_clicked (GnomeDialog *dialog, switch (button_number) { case 0: /* OK */ - ok (multi_config_dialog); + do_ok (multi_config_dialog); break; case 1: /* Apply */ - apply (multi_config_dialog); + do_apply (multi_config_dialog); break; - case 2: /* Cancel */ - cancel (multi_config_dialog); + case 2: /* Close */ + do_close (multi_config_dialog); break; default: g_assert_not_reached (); @@ -433,7 +433,7 @@ init (EMultiConfigDialog *multi_config_dialog) gnome_dialog_append_buttons (GNOME_DIALOG (multi_config_dialog), GNOME_STOCK_BUTTON_OK, GNOME_STOCK_BUTTON_APPLY, - GNOME_STOCK_BUTTON_CANCEL, + GNOME_STOCK_BUTTON_CLOSE, NULL); gnome_dialog_set_default (GNOME_DIALOG (multi_config_dialog), 0); |