aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mail-to-task
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-08-26 16:56:37 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-09-14 20:08:57 +0800
commit126772ab2b4b64fbe608ac3505ce924ed2b692b9 (patch)
tree187124cf6070a493765d336b09cd8dc02778df04 /plugins/mail-to-task
parente55ccb6a8e9dc8a6800ca75f5e5f6fc5ddfa99b7 (diff)
downloadgsoc2013-evolution-126772ab2b4b64fbe608ac3505ce924ed2b692b9.tar
gsoc2013-evolution-126772ab2b4b64fbe608ac3505ce924ed2b692b9.tar.gz
gsoc2013-evolution-126772ab2b4b64fbe608ac3505ce924ed2b692b9.tar.bz2
gsoc2013-evolution-126772ab2b4b64fbe608ac3505ce924ed2b692b9.tar.lz
gsoc2013-evolution-126772ab2b4b64fbe608ac3505ce924ed2b692b9.tar.xz
gsoc2013-evolution-126772ab2b4b64fbe608ac3505ce924ed2b692b9.tar.zst
gsoc2013-evolution-126772ab2b4b64fbe608ac3505ce924ed2b692b9.zip
Bug #655549 - [mail-to-task] Ignores cancel of source select dialog
Diffstat (limited to 'plugins/mail-to-task')
-rw-r--r--plugins/mail-to-task/mail-to-task.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/mail-to-task/mail-to-task.c b/plugins/mail-to-task/mail-to-task.c
index 1ac7652d40..56da9efa7e 100644
--- a/plugins/mail-to-task/mail-to-task.c
+++ b/plugins/mail-to-task/mail-to-task.c
@@ -1096,6 +1096,8 @@ mail_to_event (ECalClientSourceType source_type,
if (gtk_dialog_run (GTK_DIALOG (dialog)) == GTK_RESPONSE_OK)
source = e_source_selector_dialog_peek_primary_selection (E_SOURCE_SELECTOR_DIALOG (dialog));
+ else
+ source = NULL;
gtk_widget_destroy (dialog);
} else if (!source && default_source) {