From e0a96e0f961d1752d52a485101a721a1ec836541 Mon Sep 17 00:00:00 2001 From: Arunprakash Date: Mon, 25 Jul 2005 06:12:03 +0000 Subject: Changed the e_notice calls to e_error_run calls. Same. * 2005-07-25 Arunprakash * 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 --- plugins/exchange-operations/exchange-calendar.c | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'plugins/exchange-operations/exchange-calendar.c') diff --git a/plugins/exchange-operations/exchange-calendar.c b/plugins/exchange-operations/exchange-calendar.c index 3f793b502d..fb7603cf34 100644 --- a/plugins/exchange-operations/exchange-calendar.c +++ b/plugins/exchange-operations/exchange-calendar.c @@ -331,30 +331,26 @@ e_exchange_calendar_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; } -- cgit