From 8bd886a64a3f871e21b8ee793ebf84ddee6a253d Mon Sep 17 00:00:00 2001 From: Damon Chaplin Date: Sun, 19 Aug 2001 02:57:47 +0000 Subject: added option to hide completed tasks after a given number of 2001-08-18 Damon Chaplin * 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 --- calendar/gui/dialogs/event-page.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'calendar/gui/dialogs/event-page.c') 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 -- cgit v1.2.3