From 552c833e7ce667c5f9305ef1fa221eeb4eb6b648 Mon Sep 17 00:00:00 2001 From: Chenthill Palanisamy Date: Sun, 9 Sep 2007 21:08:20 +0000 Subject: Fixes #277159 (bnc) svn path=/trunk/; revision=34208 --- plugins/publish-calendar/ChangeLog | 7 +++++++ plugins/publish-calendar/url-editor-dialog.c | 12 ++++++++++++ 2 files changed, 19 insertions(+) diff --git a/plugins/publish-calendar/ChangeLog b/plugins/publish-calendar/ChangeLog index a25bbfdc76..5c6a38c1fa 100644 --- a/plugins/publish-calendar/ChangeLog +++ b/plugins/publish-calendar/ChangeLog @@ -1,3 +1,10 @@ +2007-09-10 Chenthill Palanisamy + + Fixes #277159 (bnc) + * url-editor-dialog.c: (frequency_changed_cb), + (url_editor_dialog_construct): Listen to the changes made + in publish frequency. + 2007-09-10 Chenthill Palanisamy Fixes #274048 diff --git a/plugins/publish-calendar/url-editor-dialog.c b/plugins/publish-calendar/url-editor-dialog.c index 79d68dd591..6008dc25c1 100644 --- a/plugins/publish-calendar/url-editor-dialog.c +++ b/plugins/publish-calendar/url-editor-dialog.c @@ -217,6 +217,17 @@ type_selector_changed (GtkComboBox *combo, UrlEditorDialog *dialog) check_input (dialog); } +static void +frequency_changed_cb (GtkComboBox *combo, UrlEditorDialog *dialog) +{ + gint selected = gtk_combo_box_get_active (combo); + + EPublishUri *uri; + + uri = dialog->uri; + uri->publish_frequency = selected; +} + static void server_entry_changed (GtkEntry *entry, UrlEditorDialog *dialog) { @@ -419,6 +430,7 @@ url_editor_dialog_construct (UrlEditorDialog *dialog) g_signal_connect (G_OBJECT (dialog->publish_service), "changed", G_CALLBACK (publish_service_changed), dialog); g_signal_connect (G_OBJECT (dialog->type_selector), "changed", G_CALLBACK (type_selector_changed), dialog); + g_signal_connect (G_OBJECT (dialog->publish_frequency), "changed", G_CALLBACK (frequency_changed_cb), dialog); g_signal_connect (G_OBJECT (dialog->events_selector), "selection_changed", G_CALLBACK (source_selection_changed), dialog); g_signal_connect (G_OBJECT (dialog->server_entry), "changed", G_CALLBACK (server_entry_changed), dialog); -- cgit v1.2.3