diff options
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r-- | shell/e-shell.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c index 056ab0923c..ab4277b992 100644 --- a/shell/e-shell.c +++ b/shell/e-shell.c @@ -65,12 +65,15 @@ struct _EShellPrivate { /* Constants. */ +/* FIXME: We need a component repository instead. */ + #define SHORTCUTS_FILE_NAME "shortcuts.xml" #define LOCAL_STORAGE_DIRECTORY "local" -#define MAIL_COMPONENT_ID "OAFIID:evolution-shell-component:evolution-mail:d3cb3ed6-a654-4337-8aa0-f443751d6d1b" -#define CALENDAR_COMPONENT_ID "OAFIID:evolution-shell-component:evolution-calendar:2eb9eb63-d305-4918-9c35-faae5db19e51" -#define ADDRESSBOOK_COMPONENT_ID "OAFIID:evolution-shell-component:addressbook:b7a26547-7014-4bb5-98ab-2bcac2bb55ca" +#define MAIL_COMPONENT_ID "OAFIID:evolution-shell-component:evolution-mail:d3cb3ed6-a654-4337-8aa0-f443751d6d1b" +#define CALENDAR_COMPONENT_ID "OAFIID:evolution-shell-component:evolution-calendar:2eb9eb63-d305-4918-9c35-faae5db19e51" +#define ADDRESSBOOK_COMPONENT_ID "OAFIID:evolution-shell-component:addressbook:b7a26547-7014-4bb5-98ab-2bcac2bb55ca" +#define EXECUTIVE_SUMMARY_COMPONENT_ID "OAFIID:evolution-shell-component:evolution-executive-summary:785be7bc-2ed2-4c83-96f3-d6ec8015a5b2" enum { @@ -325,6 +328,9 @@ setup_components (EShell *shell) if (! e_component_registry_register_component (priv->component_registry, ADDRESSBOOK_COMPONENT_ID)) g_warning ("Cannot activate addressbook component -- %s", ADDRESSBOOK_COMPONENT_ID); + + if (! e_component_registry_register_component (priv->component_registry, EXECUTIVE_SUMMARY_COMPONENT_ID)) + g_warning ("Cannot activate executive summary component -- %s", EXECUTIVE_SUMMARY_COMPONENT_ID); } |