From 5a405a2c31ce8e3a6e14ab991a3e019243c14292 Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Thu, 11 Jan 2001 23:15:41 +0000 Subject: Fix prototype (command_new_view): ditto. (command_new_mail_message): 2001-01-10 Miguel de Icaza * 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 svn path=/trunk/; revision=7415 --- shell/ChangeLog | 1 + shell/e-shell-view-menu.c | 18 +++++++++++++++++- 2 files changed, 18 insertions(+), 1 deletion(-) (limited to 'shell') 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) -- cgit v1.2.3