From da4bb89f311a013edbc7db6338abf2c345e696a7 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Thu, 27 Jan 2005 18:10:03 +0000 Subject: add some debugging spew 2005-01-27 JP Rosevear * itip-formatter.c: add some debugging spew svn path=/trunk/; revision=28584 --- plugins/itip-formatter/itip-formatter.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/itip-formatter') diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c index e72b9a9d0f..1315ea1e6f 100644 --- a/plugins/itip-formatter/itip-formatter.c +++ b/plugins/itip-formatter/itip-formatter.c @@ -279,8 +279,8 @@ cal_opened_cb (ECal *ecal, ECalendarStatus status, gpointer data) g_signal_handlers_disconnect_matched (ecal, G_SIGNAL_MATCH_FUNC, 0, 0, NULL, cal_opened_cb, NULL); - if (status == E_CALENDAR_STATUS_OK) { - d(printf ("Failed opening calendar '%s' during non-search opening\n", e_source_peek_name (source))); + if (status != E_CALENDAR_STATUS_OK) { + d(printf ("Failed opening itip formatter calendar '%s' during non-search opening\n", e_source_peek_name (source))); itip_view_add_lower_info_item_printf (ITIP_VIEW (pitip->view), ITIP_VIEW_INFO_ITEM_TYPE_WARNING, "Failed to load the calendar '%s'", e_source_peek_name (source)); @@ -374,7 +374,7 @@ find_cal_opened_cb (ECal *ecal, ECalendarStatus status, gpointer data) /* FIXME Do we really want to warn here? If we fail * to find the item, this won't be cleared but the * selector might be shown */ - d(printf ("Failed opening calendar '%s' during search opening... ", e_source_peek_name (source))); + d(printf ("Failed opening itip formatter calendar '%s' during search opening... ", e_source_peek_name (source))); itip_view_add_lower_info_item_printf (ITIP_VIEW (pitip->view), ITIP_VIEW_INFO_ITEM_TYPE_WARNING, "Failed to load the calendar '%s'", e_source_peek_name (source)); @@ -426,7 +426,7 @@ find_cal_opened_cb (ECal *ecal, ECalendarStatus status, gpointer data) e_cal_set_default_timezone (ecal, zone, NULL); cleanup: - d(printf ("Search count is now %d\n", fd->count)); + d(printf ("Decreasing itip formatter search count to %d\n", fd->count)); if (fd->count == 0) { itip_view_remove_lower_info_item (ITIP_VIEW (pitip->view), pitip->progress_info_id); @@ -546,7 +546,7 @@ find_server (FormatItipPObject *pitip, ECalComponent *comp) g_free (end); } fd->count++; - d(printf ("Increasing search count to %d\n", fd->count)); + d(printf ("Increasing itip formatter search count to %d\n", fd->count)); ecal = start_calendar_server (pitip, source, pitip->type, find_cal_opened_cb, fd); } -- cgit v1.2.3