diff options
-rw-r--r-- | shell/ChangeLog | 1 | ||||
-rw-r--r-- | shell/e-shell-view-menu.c | 18 |
2 files changed, 18 insertions, 1 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index db269e7bf3..a31dcf5659 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -13,6 +13,7 @@ * e-shell-view-menu.c (command_goto_folder): Fix prototype (command_new_view): ditto. + (command_new_mail_message): Implement command_new_mail_message. verbs: Use BONOBO_UI_VERB instead of BONOBO_UI_UNSAFE_VERB diff --git a/shell/e-shell-view-menu.c b/shell/e-shell-view-menu.c index 38c10d1793..d5b13b9108 100644 --- a/shell/e-shell-view-menu.c +++ b/shell/e-shell-view-menu.c @@ -386,8 +386,24 @@ func (BonoboUIComponent *uic, void *data, const char *path) \ g_warning ("EShellView: %s: not implemented.", __FUNCTION__); \ } \ +static void +command_new_mail_message (BonoboUIComponent *uih, + gpointer data, + const char *path) +{ + CORBA_Environment ev; + Bonobo_Unknown object; + + CORBA_exception_init (&ev); + object = bonobo_get_object ( + "OAFIID:GNOME_Evolution_Mail_Composer!window!visible=1", + "Bonobo/Unknown", &ev); + + CORBA_exception_free (&ev); +} + DEFINE_UNIMPLEMENTED (command_new_shortcut) -DEFINE_UNIMPLEMENTED (command_new_mail_message) + DEFINE_UNIMPLEMENTED (command_new_contact) DEFINE_UNIMPLEMENTED (command_new_task_request) |