From fd6e9b75700544aec9ce03e5380e7385f4cce4f8 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Fri, 9 Feb 2001 00:48:07 +0000 Subject: fill in new classification stuff properly (get_widgets): load new class. 2001-02-08 JP Rosevear * gui/dialogs/task-editor.c (fill_widgets): fill in new classification stuff properly (get_widgets): load new class. widgets (init_widgets): if the class. widgets change, mark the dialog dirty (dialog_to_comp_object): set the comp class. from the new widgets * gui/dialogs/task-editor-dialog.glade: Make more consistent, fixing bugs 1247 and 1249 * gui/dialogs/task-editor.c (fill_widgets): * gui/event-editor-dialog.glade: Gui tidying * gui/event-editor.c: Remove old alarm cruft * cal-util/cal-component.c (cal_component_set_url): Don't try and write an empty string as a property svn path=/trunk/; revision=8132 --- calendar/cal-util/cal-component.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'calendar/cal-util') diff --git a/calendar/cal-util/cal-component.c b/calendar/cal-util/cal-component.c index 26cb27e1bf..b0269ba262 100644 --- a/calendar/cal-util/cal-component.c +++ b/calendar/cal-util/cal-component.c @@ -3204,7 +3204,7 @@ cal_component_set_url (CalComponent *comp, const char *url) priv = comp->priv; g_return_if_fail (priv->icalcomp != NULL); - if (!url) { + if (!url || !(*url)) { if (priv->url) { icalcomponent_remove_property (priv->icalcomp, priv->url); icalproperty_free (priv->url); -- cgit v1.2.3