aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution/e-summary-offline-handler.c
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2001-08-23 06:31:53 +0800
committerIain Holmes <iain@src.gnome.org>2001-08-23 06:31:53 +0800
commit0af9d4d9864670f408b39cdec77e83c661e70584 (patch)
treed23bc8b9466bd7c7c9ae4c004f7a58deca2d5241 /my-evolution/e-summary-offline-handler.c
parent1b92eea9f43d08e724c831ae6807b39b2ba73f4e (diff)
downloadgsoc2013-evolution-0af9d4d9864670f408b39cdec77e83c661e70584.tar.gz
gsoc2013-evolution-0af9d4d9864670f408b39cdec77e83c661e70584.tar.zst
gsoc2013-evolution-0af9d4d9864670f408b39cdec77e83c661e70584.zip
Fix the show_full_path bug
Set up the functions for better online/offline reporting. svn path=/trunk/; revision=12403
Diffstat (limited to 'my-evolution/e-summary-offline-handler.c')
-rw-r--r--my-evolution/e-summary-offline-handler.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/my-evolution/e-summary-offline-handler.c b/my-evolution/e-summary-offline-handler.c
index 8feaec10c1..efe9701bdf 100644
--- a/my-evolution/e-summary-offline-handler.c
+++ b/my-evolution/e-summary-offline-handler.c
@@ -27,8 +27,8 @@ struct _ESummaryOfflineHandlerPriv {
GNOME_Evolution_OfflineProgressListener listener_interface;
};
-static GNOME_Evolution_ConnectionList *
-create_connection_list (ESummary *summary)
+GNOME_Evolution_ConnectionList *
+e_summary_offline_handler_create_connection_list (ESummary *summary)
{
GNOME_Evolution_ConnectionList *list;
GList *connections, *p;
@@ -78,7 +78,7 @@ impl_prepareForOffline (PortableServer_Servant servant,
offline_handler = E_SUMMARY_OFFLINE_HANDLER (bonobo_object_from_servant (servant));
priv = offline_handler->priv;
- *active_connection_list = create_connection_list (priv->summary);
+ *active_connection_list = e_summary_offline_handler_create_connection_list (priv->summary);
}
static void
@@ -95,14 +95,15 @@ went_offline (ESummary *summary,
g_return_if_fail (offline_handler != NULL);
priv = offline_handler->priv;
- connection_list = create_connection_list (summary);
+ connection_list = e_summary_offline_handler_create_connection_list (summary);
CORBA_exception_init (&ev);
g_warning ("Went offline");
GNOME_Evolution_OfflineProgressListener_updateProgress (priv->listener_interface, connection_list, &ev);
if (BONOBO_EX (&ev)) {
- g_warning ("Error updating offline progress");
+ g_warning ("Error updating offline progress: %s",
+ CORBA_exception_id (&ev));
}
CORBA_exception_free (&ev);
@@ -121,7 +122,7 @@ impl_goOffline (PortableServer_Servant servant,
priv->listener_interface = CORBA_Object_duplicate (progress_listener, ev);
- e_summary_set_online (priv->summary, FALSE, went_offline, offline_handler);
+ e_summary_set_online (priv->summary, progress_listener, FALSE, went_offline, offline_handler);
}
static void
@@ -131,7 +132,7 @@ impl_goOnline (PortableServer_Servant servant,
ESummaryOfflineHandler *offline_handler;
offline_handler = E_SUMMARY_OFFLINE_HANDLER (bonobo_object_from_servant (servant));
- e_summary_set_online (offline_handler->priv->summary, TRUE, NULL, NULL);
+ e_summary_set_online (offline_handler->priv->summary, NULL, TRUE, NULL, NULL);
}
/* GtkObject methods */