diff options
author | Arunprakash <arunp@novell.com> | 2005-07-25 14:12:03 +0800 |
---|---|---|
committer | Ahmed Sarfraaz <sarfraaz@src.gnome.org> | 2005-07-25 14:12:03 +0800 |
commit | e0a96e0f961d1752d52a485101a721a1ec836541 (patch) | |
tree | 6defe049864ed2734152b3552091804f816f550d /plugins/exchange-operations/exchange-contacts.c | |
parent | 6d60d66e973a67e417bcf919c830f6ee4db93eec (diff) | |
download | gsoc2013-evolution-e0a96e0f961d1752d52a485101a721a1ec836541.tar.gz gsoc2013-evolution-e0a96e0f961d1752d52a485101a721a1ec836541.tar.zst gsoc2013-evolution-e0a96e0f961d1752d52a485101a721a1ec836541.zip |
Changed the e_notice calls to e_error_run calls. Same. *
2005-07-25 Arunprakash <arunp@novell.com>
* exchange-delegates.c (get_folder_security) (add_button_clicked_cb) (delegates_apply) : Changed the e_notice calls to e_error_run calls.
* exchange-folder-permission.c (create_folder_subscription_dialog) :
Same. * exchange-calendar.c (e_exchange_calendar_commit) : Same.
* exchange-contacts.c (e_exchange_contacts_commit) : Same.
* exchange-folder-subscription.c (create_folder_subscription_dialog) :
Same
* exchange-permissions-dialog.c (exchange_permissions_dialog_new)
(dialog_response) (add_clicked): Same.
* exchange-operations.c (exchange_operations_report_error) : Modified
to report the quota value to the user.
* org-gnome-exchange-operations.error.xml : Added few more
error descriptions needed for the above changes.
svn path=/trunk/; revision=29876
Diffstat (limited to 'plugins/exchange-operations/exchange-contacts.c')
-rw-r--r-- | plugins/exchange-operations/exchange-contacts.c | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/plugins/exchange-operations/exchange-contacts.c b/plugins/exchange-operations/exchange-contacts.c index c775a1f480..0dc53bf30f 100644 --- a/plugins/exchange-operations/exchange-contacts.c +++ b/plugins/exchange-operations/exchange-contacts.c @@ -300,30 +300,26 @@ e_exchange_contacts_commit (EPlugin *epl, EConfigTarget *target) } switch (result) { - /* TODO: Modify all these error messages using e_error */ - case EXCHANGE_ACCOUNT_FOLDER_OK: - g_print ("Folder created\n"); - break; case EXCHANGE_ACCOUNT_FOLDER_ALREADY_EXISTS: - g_print ("Already exists\n"); + e_error_run (NULL, ERROR_DOMAIN ":folder-exists-error", NULL); break; case EXCHANGE_ACCOUNT_FOLDER_DOES_NOT_EXIST: - g_print ("Doesn't exists\n"); + e_error_run (NULL, ERROR_DOMAIN ":folder-doesnt-exist-error", NULL); break; case EXCHANGE_ACCOUNT_FOLDER_UNKNOWN_TYPE: - g_print ("Unknown type\n"); + e_error_run (NULL, ERROR_DOMAIN ":folder-unknown-type", NULL); break; case EXCHANGE_ACCOUNT_FOLDER_PERMISSION_DENIED: - g_print ("Permission denied\n"); + e_error_run (NULL, ERROR_DOMAIN ":folder-perm-error", NULL); break; case EXCHANGE_ACCOUNT_FOLDER_OFFLINE: - g_print ("Folder offline\n"); + e_error_run (NULL, ERROR_DOMAIN ":folder-offline-error", NULL); break; case EXCHANGE_ACCOUNT_FOLDER_UNSUPPORTED_OPERATION: - g_print ("Unsupported operation\n"); + e_error_run (NULL, ERROR_DOMAIN ":folder-unsupported-error", NULL); break; case EXCHANGE_ACCOUNT_FOLDER_GENERIC_ERROR: - g_print ("Generic error\n"); + e_error_run (NULL, ERROR_DOMAIN ":folder-generic-error", NULL); break; } g_free (ruri); |