aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/publish-calendar
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchen@src.gnome.org>2007-09-10 05:08:20 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2007-09-10 05:08:20 +0800
commit552c833e7ce667c5f9305ef1fa221eeb4eb6b648 (patch)
treed0199bf6e742826d7bbcdc98b8b05badf4d6f0ad /plugins/publish-calendar
parentff3ee70182b39c2f50b26ed096fd934de9497a60 (diff)
downloadgsoc2013-evolution-552c833e7ce667c5f9305ef1fa221eeb4eb6b648.tar
gsoc2013-evolution-552c833e7ce667c5f9305ef1fa221eeb4eb6b648.tar.gz
gsoc2013-evolution-552c833e7ce667c5f9305ef1fa221eeb4eb6b648.tar.bz2
gsoc2013-evolution-552c833e7ce667c5f9305ef1fa221eeb4eb6b648.tar.lz
gsoc2013-evolution-552c833e7ce667c5f9305ef1fa221eeb4eb6b648.tar.xz
gsoc2013-evolution-552c833e7ce667c5f9305ef1fa221eeb4eb6b648.tar.zst
gsoc2013-evolution-552c833e7ce667c5f9305ef1fa221eeb4eb6b648.zip
Fixes #277159 (bnc)
svn path=/trunk/; revision=34208
Diffstat (limited to 'plugins/publish-calendar')
-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);