aboutsummaryrefslogtreecommitdiffstats
path: root/modules/calendar/e-memo-shell-view-actions.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/calendar/e-memo-shell-view-actions.c')
-rw-r--r--modules/calendar/e-memo-shell-view-actions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/calendar/e-memo-shell-view-actions.c b/modules/calendar/e-memo-shell-view-actions.c
index 4a433a6f88..1550afeae8 100644
--- a/modules/calendar/e-memo-shell-view-actions.c
+++ b/modules/calendar/e-memo-shell-view-actions.c
@@ -178,7 +178,7 @@ action_memo_list_delete_cb (GtkAction *action,
"calendar:prompt-delete-memo-list",
e_source_get_display_name (source), NULL);
- if (response != GTK_RESPONSE_YES)
+ if (response == GTK_RESPONSE_YES)
e_shell_view_remove_source (shell_view, source);
}