From 1ebee5b96f0861a48a1de9b8230540d740dd65cf Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Thu, 18 Jan 2001 17:23:20 +0000 Subject: New files with a simple sequence to migrate the task components from the 2001-01-18 Federico Mena Quintero * gui/tasks-migrate.[ch]: New files with a simple sequence to migrate the task components from the old calendar folder into the new tasks folder. * gui/component-factory.c (owner_set_cb): Call tasks_migrate() once evolution_dir is set. It sucks to have to do this here. * cal-client/cal-client.c (cal_client_get_uids): In the inline docs, indicate how to free the return value. (cal_opened_cb): Ahem, moved assertion to the right place. Also, ref() and unref() around our own signal emission because we are not inside a signal handler, rather a simple callback from the listener object; we want to have a chance to clean up even if the client is unrefed during the emission. * gui/Makefile.am (evolution_calendar_SOURCES): Added tasks-migrate.[ch] to the list of sources. 2001-01-17 Federico Mena Quintero * gui/event-editor.c (init_widgets): Use e_calendar_item_set_max_days_sel() instead of setting GTK+ object arguments. * gui/e-day-view.c (e_day_view_set_cal_client): Oops, we had a reversed test for the client being loaded. * gui/tag-calendar.c (tag_calendar_by_client): Fixed similarly reversed test. svn path=/trunk/; revision=7622 --- calendar/gui/alarm-notify/alarm-notify.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'calendar/gui/alarm-notify/alarm-notify.c') diff --git a/calendar/gui/alarm-notify/alarm-notify.c b/calendar/gui/alarm-notify/alarm-notify.c index fc87ad878d..60346ba801 100644 --- a/calendar/gui/alarm-notify/alarm-notify.c +++ b/calendar/gui/alarm-notify/alarm-notify.c @@ -30,7 +30,8 @@ /* Private part of the AlarmNotify structure */ struct _AlarmNotifyPrivate { - /* FIXME */ + /* Mapping from GnomeVFSURIs to loaded clients */ + GHashTable *uri_client_hash; }; @@ -140,14 +141,18 @@ alarm_notify_destroy (GtkObject *object) /* AlarmNotify::addCalendar method */ static void AlarmNotify_addCalendar (PortableServer_Servant servant, - const CORBA_char *uri, + const CORBA_char *str_uri, CORBA_Environment *ev) { AlarmNotify *an; + GnomeVFSURI *uri; + CalClient *client; an = ALARM_NOTIFY (bonobo_object_from_servant (servant)); - /* FIXME */ + uri = gnome_vfs_uri_new (str_uri); + if (!uri) { + } } /* AlarmNotify::removeCalendar method */ -- cgit v1.2.3