aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/publish-calendar/ChangeLog7
-rw-r--r--plugins/publish-calendar/url-editor-dialog.c12
2 files changed, 19 insertions, 0 deletions
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,5 +1,12 @@
2007-09-10 Chenthill Palanisamy <pchenthill@novell.com>
+ 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 <pchenthill@novell.com>
+
Fixes #274048
* publish-calendar.c: (publish): Prompt for a password
if required.
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
@@ -218,6 +218,17 @@ type_selector_changed (GtkComboBox *combo, UrlEditorDialog *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)
{
check_input (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);