aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution/e-summary-factory.c
diff options
context:
space:
mode:
Diffstat (limited to 'my-evolution/e-summary-factory.c')
-rw-r--r--my-evolution/e-summary-factory.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/my-evolution/e-summary-factory.c b/my-evolution/e-summary-factory.c
index b7dde3c861..7afd677d95 100644
--- a/my-evolution/e-summary-factory.c
+++ b/my-evolution/e-summary-factory.c
@@ -19,6 +19,7 @@
#include "e-summary.h"
#include "e-summary-factory.h"
+#include "e-summary-offline-handler.h"
#include "e-summary-preferences.h"
#include "evolution-shell-component-utils.h" /* For E_PIXMAP */
@@ -108,7 +109,8 @@ control_destroy_cb (BonoboControl *control,
BonoboControl *
e_summary_factory_new_control (const char *uri,
- const GNOME_Evolution_Shell shell)
+ const GNOME_Evolution_Shell shell,
+ ESummaryOfflineHandler *handler)
{
BonoboControl *control;
GtkWidget *summary;
@@ -118,6 +120,7 @@ e_summary_factory_new_control (const char *uri,
return NULL;
}
+ e_summary_offline_handler_set_summary (handler, E_SUMMARY (summary));
gtk_widget_show (summary);
control = bonobo_control_new (summary);