aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@helixcode.com>2001-01-12 07:15:41 +0800
committerMiguel de Icaza <miguel@src.gnome.org>2001-01-12 07:15:41 +0800
commit5a405a2c31ce8e3a6e14ab991a3e019243c14292 (patch)
treefbe8dce349905a53b33efd036e94644e51bf8260
parent7e083f5fa8ca22c536fa3bdde9213ba240664e05 (diff)
downloadgsoc2013-evolution-5a405a2c31ce8e3a6e14ab991a3e019243c14292.tar
gsoc2013-evolution-5a405a2c31ce8e3a6e14ab991a3e019243c14292.tar.gz
gsoc2013-evolution-5a405a2c31ce8e3a6e14ab991a3e019243c14292.tar.bz2
gsoc2013-evolution-5a405a2c31ce8e3a6e14ab991a3e019243c14292.tar.lz
gsoc2013-evolution-5a405a2c31ce8e3a6e14ab991a3e019243c14292.tar.xz
gsoc2013-evolution-5a405a2c31ce8e3a6e14ab991a3e019243c14292.tar.zst
gsoc2013-evolution-5a405a2c31ce8e3a6e14ab991a3e019243c14292.zip
Fix prototype (command_new_view): ditto. (command_new_mail_message):
2001-01-10 Miguel de Icaza <miguel@helixcode.com> * 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
-rw-r--r--shell/ChangeLog1
-rw-r--r--shell/e-shell-view-menu.c18
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)