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.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/my-evolution/e-summary-factory.c b/my-evolution/e-summary-factory.c
index db84213374..9344f70016 100644
--- a/my-evolution/e-summary-factory.c
+++ b/my-evolution/e-summary-factory.c
@@ -39,6 +39,7 @@
BonoboUIVerb verbs[] = {
BONOBO_UI_VERB ("PrintMyEvolution", e_summary_print),
+ BONOBO_UI_VERB ("ToolsSettings", e_summary_configure),
BONOBO_UI_VERB ("Reload", e_summary_reload),
BONOBO_UI_VERB_END
};
@@ -46,6 +47,7 @@ BonoboUIVerb verbs[] = {
static EPixmap pixmaps [] = {
E_PIXMAP ("/commands/PrintMyEvolution", "print.xpm"),
+ E_PIXMAP ("/commands/ToolsSettings", "configure_16_mail.xpm"),
E_PIXMAP ("/Toolbar/PrintMyEvolution", "buttons/print.png"),
E_PIXMAP_END
};
@@ -126,13 +128,12 @@ control_destroy_cb (BonoboControl *control,
BonoboControl *
e_summary_factory_new_control (const char *uri,
const GNOME_Evolution_Shell shell,
- ESummaryOfflineHandler *handler,
- ESummaryPrefs *global_preferences)
+ ESummaryOfflineHandler *handler)
{
BonoboControl *control;
GtkWidget *summary;
- summary = e_summary_new (shell, global_preferences);
+ summary = e_summary_new (shell);
if (summary == NULL) {
return NULL;
}
@@ -152,8 +153,5 @@ e_summary_factory_new_control (const char *uri,
gtk_signal_connect (GTK_OBJECT (control), "destroy",
control_destroy_cb, summary);
- /* FIXME: We register the factory here as it needs the summary object.
- Sigh, this is really wrong. */
-
return control;
}