+2004-02-02 Rodrigo Moya <rodrigo@ximian.com>
+
+ * backends/groupwise/e-cal-backend-groupwise.c (connect_to_server):
+ set the ESource's name to the name of the folder.
+
2004-02-01 JP Rosevear <jpr@ximian.com>
* libecal/e-cal.h: order the signals more sensibly
#include <string.h>
#include <libgnomevfs/gnome-vfs-uri.h>
#include <libgnomevfs/gnome-vfs.h>
+#include <bonobo/bonobo-i18n.h>
#include <libedataserver/e-xml-hash-utils.h>
#include <libedata-cal/e-cal-backend-cache.h>
#include <libedata-cal/e-cal-backend-util.h>
g_free (priv->container_id);
kind = e_cal_backend_get_kind (E_CAL_BACKEND (cbgw));
- if (kind == ICAL_VEVENT_COMPONENT)
+ if (kind == ICAL_VEVENT_COMPONENT) {
priv->container_id = e_gw_connection_get_container_id (priv->cnc, "Calendar");
- else if (kind == ICAL_VTODO_COMPONENT)
+ e_source_set_name (e_cal_backend_get_source (E_CAL_BACKEND (cbgw)), _("Calendar"));
+ } else if (kind == ICAL_VTODO_COMPONENT) {
priv->container_id = e_gw_connection_get_container_id (priv->cnc, "Checklist");
- else
+ e_source_set_name (e_cal_backend_get_source (E_CAL_BACKEND (cbgw)), _("Checklist"));
+ } else
priv->container_id = NULL;
/* Populate the cache for the first time.*/