aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorJP Rosevear <jpr@novell.com>2005-01-28 02:10:03 +0800
committerJP Rosevear <jpr@src.gnome.org>2005-01-28 02:10:03 +0800
commitda4bb89f311a013edbc7db6338abf2c345e696a7 (patch)
tree47f29a39aa79c56c63b430a8a07fd4e31de44f2d /plugins
parent851a0d55d3cba03bd2c0d6e8595b1ad4aa76edfc (diff)
downloadgsoc2013-evolution-da4bb89f311a013edbc7db6338abf2c345e696a7.tar
gsoc2013-evolution-da4bb89f311a013edbc7db6338abf2c345e696a7.tar.gz
gsoc2013-evolution-da4bb89f311a013edbc7db6338abf2c345e696a7.tar.bz2
gsoc2013-evolution-da4bb89f311a013edbc7db6338abf2c345e696a7.tar.lz
gsoc2013-evolution-da4bb89f311a013edbc7db6338abf2c345e696a7.tar.xz
gsoc2013-evolution-da4bb89f311a013edbc7db6338abf2c345e696a7.tar.zst
gsoc2013-evolution-da4bb89f311a013edbc7db6338abf2c345e696a7.zip
add some debugging spew
2005-01-27 JP Rosevear <jpr@novell.com> * itip-formatter.c: add some debugging spew svn path=/trunk/; revision=28584
Diffstat (limited to 'plugins')
-rw-r--r--plugins/itip-formatter/itip-formatter.c10
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);
}