diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-10-18 04:50:00 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-10-18 04:50:00 +0800 |
commit | cf1d544b1068c0f04fe5da5344521f140af24016 (patch) | |
tree | a65dc7287cae8756f90f68ae993e6d3fedfb616d /mail/mail-accounts.c | |
parent | 3ced16bfa226cdc03aa6e38552a78976d05ff171 (diff) | |
download | gsoc2013-evolution-cf1d544b1068c0f04fe5da5344521f140af24016.tar.gz gsoc2013-evolution-cf1d544b1068c0f04fe5da5344521f140af24016.tar.zst gsoc2013-evolution-cf1d544b1068c0f04fe5da5344521f140af24016.zip |
Helper macro.
2001-10-17 Jeffrey Stedfast <fejj@ximian.com>
* subscribe-dialog.h (subscribe_dialog_show): Helper macro.
* subscribe-dialog.c (subscribe_dialog_run_and_close): Removed.
* mail-callbacks.c (check_send_configuration): Don't use
gnome_dialog_run_and_close() here, we can easily get away with
just using a gtk_widget_show().
(providers_config): Don't use a gnome_dialog_run_and_close() here
either. No longer need to use e_gnome_dialog utils.
(manage_subscriptions): Don't run_and_close().
svn path=/trunk/; revision=13732
Diffstat (limited to 'mail/mail-accounts.c')
-rw-r--r-- | mail/mail-accounts.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/mail-accounts.c b/mail/mail-accounts.c index a650d53336..fa3c0a750b 100644 --- a/mail/mail-accounts.c +++ b/mail/mail-accounts.c @@ -345,18 +345,18 @@ mail_able (GtkButton *button, gpointer data) if (dialog->accounts_row >= 0) { int row; - + row = dialog->accounts_row; account = gtk_clist_get_row_data (dialog->mail_accounts, row); account->source->enabled = !account->source->enabled; - + if (account->source && account->source->url) { if (account->source->enabled) mail_load_storage_by_uri (dialog->shell, account->source->url, account->name); else mail_remove_storage_by_uri (account->source->url); } - + mail_autoreceive_setup (); mail_config_write (); load_accounts (dialog); |