diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/itip-formatter/itip-formatter.c | 10 |
1 files changed, 5 insertions, 5 deletions
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); } |