diff options
author | Sushma Rai <rsushma@src.gnome.org> | 2005-11-24 18:03:52 +0800 |
---|---|---|
committer | Sushma Rai <rsushma@src.gnome.org> | 2005-11-24 18:03:52 +0800 |
commit | 9ecaac70155878db5b8a02062f83620dc04eada6 (patch) | |
tree | a1e1bfec36b3e0861b5493c230dc3f9c26f52180 | |
parent | c28b9a75bbfaa2538d34f6b2c0c460b930eff5d7 (diff) | |
download | gsoc2013-evolution-9ecaac70155878db5b8a02062f83620dc04eada6.tar gsoc2013-evolution-9ecaac70155878db5b8a02062f83620dc04eada6.tar.gz gsoc2013-evolution-9ecaac70155878db5b8a02062f83620dc04eada6.tar.bz2 gsoc2013-evolution-9ecaac70155878db5b8a02062f83620dc04eada6.tar.lz gsoc2013-evolution-9ecaac70155878db5b8a02062f83620dc04eada6.tar.xz gsoc2013-evolution-9ecaac70155878db5b8a02062f83620dc04eada6.tar.zst gsoc2013-evolution-9ecaac70155878db5b8a02062f83620dc04eada6.zip |
Not showing the OOF error message also on authentication failure.
svn path=/trunk/; revision=30654
-rw-r--r-- | plugins/exchange-operations/ChangeLog | 7 | ||||
-rw-r--r-- | plugins/exchange-operations/exchange-account-setup.c | 4 |
2 files changed, 9 insertions, 2 deletions
diff --git a/plugins/exchange-operations/ChangeLog b/plugins/exchange-operations/ChangeLog index dad4cdbb93..3e14ffe294 100644 --- a/plugins/exchange-operations/ChangeLog +++ b/plugins/exchange-operations/ChangeLog @@ -1,3 +1,10 @@ +2005-11-24 Sushma Rai <rsushma@novell.com> + + * exchange-account-setup.c (org_gnome_exchange_settings): Initialize + OOF state and check for the OOF state and message only of the account + is valid. Fixes the problem of printing OOF error message in case + of authentication failure. + 2005-10-03 Shakti Sen <shprasad@novell.com> * exchange-folder-permission.c (org_gnome_exchange_folder_permissions), diff --git a/plugins/exchange-operations/exchange-account-setup.c b/plugins/exchange-operations/exchange-account-setup.c index 4b291f73c7..a705671fe2 100644 --- a/plugins/exchange-operations/exchange-account-setup.c +++ b/plugins/exchange-operations/exchange-account-setup.c @@ -174,7 +174,7 @@ org_gnome_exchange_settings(EPlugin *epl, EConfigHookItemFactoryData *data) CamelURL *url; const char *source_url; char *message = NULL, *txt = NULL, *oof_message; - gboolean oof_state; + gboolean oof_state = FALSE; GtkVBox *vbox_settings; @@ -232,7 +232,7 @@ org_gnome_exchange_settings(EPlugin *epl, EConfigHookItemFactoryData *data) /* See if oof info found already */ - if (!exchange_oof_get (account, &oof_state, &message)) { + if (account && !exchange_oof_get (account, &oof_state, &message)) { e_error_run (NULL, ERROR_DOMAIN ":state-read-error", NULL); |