aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution/e-summary.c
diff options
context:
space:
mode:
authorIain Holmes <iain@ximian.com>2001-10-27 07:15:19 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-10-27 07:15:19 +0800
commit0b5c3e9f8b92121454a5573f7c3d3467554e6916 (patch)
tree85f8d9b3d79f60708a012d06f5c02d1c06dbaa4a /my-evolution/e-summary.c
parentc944779866017804bbeb94f9c81af4ffa0eef3ba (diff)
downloadgsoc2013-evolution-0b5c3e9f8b92121454a5573f7c3d3467554e6916.tar
gsoc2013-evolution-0b5c3e9f8b92121454a5573f7c3d3467554e6916.tar.gz
gsoc2013-evolution-0b5c3e9f8b92121454a5573f7c3d3467554e6916.tar.bz2
gsoc2013-evolution-0b5c3e9f8b92121454a5573f7c3d3467554e6916.tar.lz
gsoc2013-evolution-0b5c3e9f8b92121454a5573f7c3d3467554e6916.tar.xz
gsoc2013-evolution-0b5c3e9f8b92121454a5573f7c3d3467554e6916.tar.zst
gsoc2013-evolution-0b5c3e9f8b92121454a5573f7c3d3467554e6916.zip
NULL the handle after a failed open so the offline handler won't think
2001-10-26 Iain Holmes <iain@ximian.com> * e-summary-rdf.c (open_callback): NULL the handle after a failed open so the offline handler won't think they're still open. (e_summary_rdf_set_online): Cancel all the open connections when the summary goes offline. * e-summary-weather.c (open_callback): NULL the handle after a failed open so the offline handler won't think they're still open. (e_summary_weather_set_online): Cancel all the open connections when the summary goes offline. * e-summary.c (e_summary_set_online): Call the callback if it's not NULL. svn path=/trunk/; revision=14183
Diffstat (limited to 'my-evolution/e-summary.c')
-rw-r--r--my-evolution/e-summary.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/my-evolution/e-summary.c b/my-evolution/e-summary.c
index 952976cd45..d11c85a25d 100644
--- a/my-evolution/e-summary.c
+++ b/my-evolution/e-summary.c
@@ -777,6 +777,7 @@ e_summary_count_connections (ESummary *summary)
count += c->count (summary, c->closure);
}
+ g_print ("Count: %d", count);
return count;
}
@@ -824,6 +825,11 @@ e_summary_set_online (ESummary *summary,
c->callback_closure = closure;
c->set_online (summary, progress, online, c->closure);
+ g_print ("Setting %s\n", online ? "online" : "offline");
+
+ if (callback != NULL) {
+ callback (summary, closure);
+ }
}
}