projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e3893d
)
Bugfix for 82760
author
Philip Van Hoof
<philip@codeminded.be>
Fri, 21 Mar 2008 12:31:26 +0000
(12:31 +0000)
committer
Philip Van Hoof
<philip@codeminded.be>
Fri, 21 Mar 2008 12:31:26 +0000
(12:31 +0000)
pmo-trunk-r4335
src/dbus_api/modest-dbus-callbacks.c
patch
|
blob
|
history
diff --git
a/src/dbus_api/modest-dbus-callbacks.c
b/src/dbus_api/modest-dbus-callbacks.c
index
07472df
..
14cbbfe
100644
(file)
--- a/
src/dbus_api/modest-dbus-callbacks.c
+++ b/
src/dbus_api/modest-dbus-callbacks.c
@@
-464,6
+464,13
@@
on_open_message_performer (gboolean canceled,
} else {
folder = tny_store_account_find_folder (TNY_STORE_ACCOUNT (account), uri, NULL);
}
+
+
+ if (!folder) {
+ g_idle_add (notify_msg_not_found_in_idle, NULL);
+ goto frees;
+ }
+
if (modest_tny_folder_is_local_folder (folder) &&
(modest_tny_folder_get_local_or_mmc_folder_type (folder) == TNY_FOLDER_TYPE_DRAFTS)) {
is_draft = TRUE;