[evolution/wip/gsettings] Bug #655549 - [mail-to-task] Ignores cancel of source select dialog
- From: Rodrigo Moya <rodrigo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/gsettings] Bug #655549 - [mail-to-task] Ignores cancel of source select dialog
- Date: Wed, 14 Sep 2011 12:34:25 +0000 (UTC)
commit 126772ab2b4b64fbe608ac3505ce924ed2b692b9
Author: Milan Crha <mcrha redhat com>
Date: Fri Aug 26 10:56:37 2011 +0200
Bug #655549 - [mail-to-task] Ignores cancel of source select dialog
plugins/mail-to-task/mail-to-task.c | 2 ++
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 1ac7652..56da9ef 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) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]