diff options
author | Jonathon Jongsma <jonathon@quotidian.org> | 2009-11-25 07:35:39 +0800 |
---|---|---|
committer | Jonathon Jongsma <jonathon@quotidian.org> | 2009-12-01 03:31:19 +0800 |
commit | ae906bbae5b053fad7f5425c242530e33f589f68 (patch) | |
tree | 31b46cdbdd341dadcdbd857fb0fabc3e87a798ec /mail/em-folder-tree.c | |
parent | ac1f847f7b40b3a0f6ed00dedd2eb2b0f23b5027 (diff) | |
download | gsoc2013-evolution-ae906bbae5b053fad7f5425c242530e33f589f68.tar.gz gsoc2013-evolution-ae906bbae5b053fad7f5425c242530e33f589f68.tar.zst gsoc2013-evolution-ae906bbae5b053fad7f5425c242530e33f589f68.zip |
port mail/ to use new EError API
https://bugzilla.gnome.org/show_bug.cgi?id=602963
Diffstat (limited to 'mail/em-folder-tree.c')
-rw-r--r-- | mail/em-folder-tree.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c index 2865e50840..9cc15c2bbb 100644 --- a/mail/em-folder-tree.c +++ b/mail/em-folder-tree.c @@ -439,7 +439,7 @@ folder_tree_cell_edited_cb (EMFolderTree *folder_tree, /* Check for invalid characters. */ if (strchr (new_name, '/') != NULL) { - e_error_run ( + e_error_run_dialog_for_args ( parent, "mail:no-rename-folder", old_name, new_name, _("Folder names cannot contain '/'"), NULL); @@ -458,7 +458,7 @@ folder_tree_cell_edited_cb (EMFolderTree *folder_tree, folder_info = camel_store_get_folder_info ( store, new_full_name, CAMEL_STORE_FOLDER_INFO_FAST, &ex); if (folder_info != NULL) { - e_error_run ( + e_error_run_dialog_for_args ( parent, "mail:no-rename-folder-exists", old_name, new_name, NULL); camel_store_free_folder_info (store, folder_info); @@ -468,7 +468,7 @@ folder_tree_cell_edited_cb (EMFolderTree *folder_tree, /* XXX This needs to be asynchronous. */ camel_store_rename_folder (store, old_full_name, new_full_name, &ex); if (camel_exception_is_set (&ex)) { - e_error_run ( + e_error_run_dialog_for_args ( parent, "mail:no-rename-folder", old_full_name, new_full_name, ex.desc, NULL); goto exit; |