aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/calendar-conduit.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/calendar-conduit.c')
-rw-r--r--calendar/calendar-conduit.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/calendar/calendar-conduit.c b/calendar/calendar-conduit.c
index d7ec8083ae..cb7ca2b67a 100644
--- a/calendar/calendar-conduit.c
+++ b/calendar/calendar-conduit.c
@@ -43,7 +43,7 @@ GnomePilotConduit * conduit_get_gpilot_conduit (guint32);
void conduit_destroy_gpilot_conduit (GnomePilotConduit*);
void local_record_from_icalobject(GCalLocalRecord *local,iCalObject *obj);
-#define CONDUIT_VERSION "0.8.9"
+#define CONDUIT_VERSION "0.8.10p1"
#ifdef G_LOG_DOMAIN
#undef G_LOG_DOMAIN
#endif
@@ -597,7 +597,7 @@ check_for_slow_setting(GnomePilotConduit *c,
LOG (_("Calendar holds %d entries"),entry_number);
/* If the local base is empty, do a slow sync */
if ( entry_number <= 0) {
- gnome_pilot_conduit_standard_set_slow(c);
+ gnome_pilot_conduit_standard_set_slow(GNOME_PILOT_CONDUIT_STANDARD(c));
}
}
}
@@ -616,6 +616,8 @@ pre_sync(GnomePilotConduit *c,
if (start_calendar_server(GNOME_PILOT_CONDUIT_STANDARD_ABS(c),ctxt) != 0) {
WARN(_("Could not start gnomecal server"));
+ gnome_pilot_conduit_error(GNOME_PILOT_CONDUIT(c),
+ _("Could not start gnomecal server"));
return -1;
}
@@ -624,8 +626,11 @@ pre_sync(GnomePilotConduit *c,
/* load_records(c); */
buf = (unsigned char*)g_malloc(0xffff);
- if((l=dlp_ReadAppBlock(dbi->pilot_socket,dbi->db_handle,0,(unsigned char *)buf,0xffff))<0) {
+ if((l=dlp_ReadAppBlock(dbi->pilot_socket,dbi->db_handle,0,(unsigned char *)buf,0xffff)) < 0) {
WARN(_("Could not read pilot's DateBook application block"));
+ WARN("dlp_ReadAppBlock(...) = %d",l);
+ gnome_pilot_conduit_error(GNOME_PILOT_CONDUIT(c),
+ _("Could not read pilot's DateBook application block"));
return -1;
}
unpack_AppointmentAppInfo(&(ctxt->ai),buf,l);
orts-gnome/commit/lang/pfe/distinfo?id=59e6adf4a32574137618e96c14fa28f42ba7759d'>SIZEify (maintainer timeout)trevor2004-03-311-0/+1 * Update to latest version.patrick2002-10-011-1/+1 * Update to latest version.patrick2002-04-111-1/+1 * Update to a new version (0.30.97) and clean up pkg-plistpatrick2001-05-281-1/+1 * Update to 0.30.95patrick2001-04-281-1/+1 * Updating to version 0.30.93patrick2001-04-231-1/+1 * Update to 0.30.27patrick2000-11-251-1/+1 * Add a new development version of PFE (Portable Forth Enviornment).patrick2000-10-30