aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/comp-editor-page.c
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@novell.com>2004-06-09 00:44:46 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2004-06-09 00:44:46 +0800
commitbab3dc622a2cd10e861e1ffb762768e68079a81e (patch)
tree49f87315bdc07b6adaec78e5838cd0f5d89a05ab /calendar/gui/dialogs/comp-editor-page.c
parent7601e9e71eb0f412b7671954c8724e1820e519cd (diff)
downloadgsoc2013-evolution-bab3dc622a2cd10e861e1ffb762768e68079a81e.tar.gz
gsoc2013-evolution-bab3dc622a2cd10e861e1ffb762768e68079a81e.tar.zst
gsoc2013-evolution-bab3dc622a2cd10e861e1ffb762768e68079a81e.zip
new function for notifying all pages of the client change.
2004-06-08 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/comp-editor.[ch] (comp_editor_notify_client_changed): new function for notifying all pages of the client change. (page_client_changed_cb): no need for this callback. (comp_editor_append_page): no need to connect to "client_changed" signal on the pages. * gui/dialogs/comp-editor-page.c (comp_editor_page_notify_client_changed): re-added the call to comp_editor_page_set_e_cal(), the client was not being set anywhere. * gui/dialogs/event-page.c (source_changed_cb): use comp_editor_notify_client_changed() so that all pages get informed of the client change. * gui/dialogs/task-page.c (source_changed_cb): ditto. svn path=/trunk/; revision=26255
Diffstat (limited to 'calendar/gui/dialogs/comp-editor-page.c')
-rw-r--r--calendar/gui/dialogs/comp-editor-page.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/calendar/gui/dialogs/comp-editor-page.c b/calendar/gui/dialogs/comp-editor-page.c
index 44e89a3b14..2d656060e7 100644
--- a/calendar/gui/dialogs/comp-editor-page.c
+++ b/calendar/gui/dialogs/comp-editor-page.c
@@ -433,6 +433,7 @@ comp_editor_page_notify_client_changed (CompEditorPage *page,
g_return_if_fail (page != NULL);
g_return_if_fail (IS_COMP_EDITOR_PAGE (page));
+ comp_editor_page_set_e_cal (page, client);
gtk_signal_emit (GTK_OBJECT (page),
comp_editor_page_signals[CLIENT_CHANGED],
client);