From 4c7a93d9fd2b08db22a00bcf2477c3b0b87f4da6 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Fri, 26 Aug 2011 10:56:37 +0200 Subject: Bug #655549 - [mail-to-task] Ignores cancel of source select dialog --- plugins/mail-to-task/mail-to-task.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins') 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) { -- cgit