projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6011f47
)
* Fixes NB#88985, NB#88986 show an error note when a retrieving a message that has...
author
Sergio Villar Senin
<svillar@igalia.com>
Thu, 16 Oct 2008 16:57:20 +0000
(16:57 +0000)
committer
Sergio Villar Senin
<svillar@igalia.com>
Thu, 16 Oct 2008 16:57:20 +0000
(16:57 +0000)
pmo-trunk-r6068
src/modest-ui-actions.c
patch
|
blob
|
history
diff --git
a/src/modest-ui-actions.c
b/src/modest-ui-actions.c
index
4522f18
..
d143b1d
100644
(file)
--- a/
src/modest-ui-actions.c
+++ b/
src/modest-ui-actions.c
@@
-830,6
+830,17
@@
modest_ui_actions_msg_retrieval_check (ModestMailOperation *mail_op,
g_object_unref (source);
}
g_object_unref (source);
}
+ if (error && ((error->code == TNY_SERVICE_ERROR_NO_SUCH_MESSAGE) ||
+ error->code == TNY_SERVICE_ERROR_MESSAGE_NOT_AVAILABLE)) {
+ gchar *subject, *msg;
+ subject = tny_header_dup_subject (header);
+ msg = g_strdup_printf (_("emev_ni_ui_imap_message_not_available_in_server"),
+ subject);
+ modest_platform_run_information_dialog (NULL, msg, FALSE);
+ g_free (msg);
+ g_free (subject);
+ }
+
/* Remove the header from the preregistered uids */
modest_window_mgr_unregister_header (modest_runtime_get_window_mgr (),
header);
/* Remove the header from the preregistered uids */
modest_window_mgr_unregister_header (modest_runtime_get_window_mgr (),
header);