aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/event-page.c
diff options
context:
space:
mode:
authorDamon Chaplin <damon@ximian.com>2001-08-19 10:57:47 +0800
committerDamon Chaplin <damon@src.gnome.org>2001-08-19 10:57:47 +0800
commit8bd886a64a3f871e21b8ee793ebf84ddee6a253d (patch)
treec6e7fa848fc72ebcbe1d5fe73b7acda79cd5ba5d /calendar/gui/dialogs/event-page.c
parent92f1432df4f26f0fdffdf2d6a19f4fe52307e3e9 (diff)
downloadgsoc2013-evolution-8bd886a64a3f871e21b8ee793ebf84ddee6a253d.tar
gsoc2013-evolution-8bd886a64a3f871e21b8ee793ebf84ddee6a253d.tar.gz
gsoc2013-evolution-8bd886a64a3f871e21b8ee793ebf84ddee6a253d.tar.bz2
gsoc2013-evolution-8bd886a64a3f871e21b8ee793ebf84ddee6a253d.tar.lz
gsoc2013-evolution-8bd886a64a3f871e21b8ee793ebf84ddee6a253d.tar.xz
gsoc2013-evolution-8bd886a64a3f871e21b8ee793ebf84ddee6a253d.tar.zst
gsoc2013-evolution-8bd886a64a3f871e21b8ee793ebf84ddee6a253d.zip
added option to hide completed tasks after a given number of
2001-08-18 Damon Chaplin <damon@ximian.com> * gui/dialogs/cal-prefs-dialog.glade: added option to hide completed tasks after a given number of minutes/hours/days. Unfinished. * gui/dialogs/event-page.c (event_page_fill_component): initialize zone to NULL to avoid a warning. (contacts_clicked_cb): work around a bug in SelectNames by notifying that the page has changed when you click the 'Contacts' button. Otherwise it is easy to lose changes. * gui/dialogs/task-page.c (contacts_clicked_cb): ditto. svn path=/trunk/; revision=12215
Diffstat (limited to 'calendar/gui/dialogs/event-page.c')
-rw-r--r--calendar/gui/dialogs/event-page.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/calendar/gui/dialogs/event-page.c b/calendar/gui/dialogs/event-page.c
index e20822e088..a8ab66af6a 100644
--- a/calendar/gui/dialogs/event-page.c
+++ b/calendar/gui/dialogs/event-page.c
@@ -561,7 +561,7 @@ event_page_fill_component (CompEditorPage *page, CalComponent *comp)
char *cat, *str;
CalComponentClassification classif;
CalComponentTransparency transparency;
- icaltimezone *zone;
+ icaltimezone *zone = NULL;
epage = EVENT_PAGE (page);
priv = epage->priv;
@@ -1091,6 +1091,12 @@ contacts_clicked_cb (GtkWidget *button, gpointer data)
g_print ("In contacts_clicked_cb\n");
comp_editor_show_contacts_dialog (priv->corba_select_names);
+
+ /* FIXME: Currently we aren't getting the changed event from the
+ SelectNames component correctly, so we aren't saving the event
+ if just the contacts are changed. To work around that, we assume
+ that if the contacts button is clicked it is changed. */
+ comp_editor_page_notify_changed (COMP_EDITOR_PAGE (epage));
}
/* Callback used when the categories button is clicked; we must bring up the