aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/publish-calendar/url-editor-dialog.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-07-30 00:56:14 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-08-11 04:27:28 +0800
commit7eee013e97aa3d1d28112f5b25744035941ec23c (patch)
treef4f7e9cf39c2340a3efb0f3e17402c1af029341b /plugins/publish-calendar/url-editor-dialog.c
parent141966f9922f7a38d59e73316eb3b9d876fcd07e (diff)
downloadgsoc2013-evolution-7eee013e97aa3d1d28112f5b25744035941ec23c.tar
gsoc2013-evolution-7eee013e97aa3d1d28112f5b25744035941ec23c.tar.gz
gsoc2013-evolution-7eee013e97aa3d1d28112f5b25744035941ec23c.tar.bz2
gsoc2013-evolution-7eee013e97aa3d1d28112f5b25744035941ec23c.tar.lz
gsoc2013-evolution-7eee013e97aa3d1d28112f5b25744035941ec23c.tar.xz
gsoc2013-evolution-7eee013e97aa3d1d28112f5b25744035941ec23c.tar.zst
gsoc2013-evolution-7eee013e97aa3d1d28112f5b25744035941ec23c.zip
Bug #317290 - [Publish-Calendar] Cancel setup should cancel
, not continue
Diffstat (limited to 'plugins/publish-calendar/url-editor-dialog.c')
-rw-r--r--plugins/publish-calendar/url-editor-dialog.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/publish-calendar/url-editor-dialog.c b/plugins/publish-calendar/url-editor-dialog.c
index 7456d4b193..ee1f33932d 100644
--- a/plugins/publish-calendar/url-editor-dialog.c
+++ b/plugins/publish-calendar/url-editor-dialog.c
@@ -544,7 +544,7 @@ url_editor_dialog_get_type (void)
return type;
}
-void
+gboolean
url_editor_dialog_run (UrlEditorDialog *dialog)
{
gint response;
@@ -576,4 +576,6 @@ url_editor_dialog_run (UrlEditorDialog *dialog)
dialog->uri->events = g_slist_append (dialog->uri->events, g_strdup (e_source_peek_uid (p->data)));
}
gtk_widget_hide_all (GTK_WIDGET (dialog));
+
+ return response == GTK_RESPONSE_OK;
}