aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-browser.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-05-24 05:34:23 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-05-24 05:34:23 +0800
commita70ed5cf833b20fb1c2e8cfd67223b6bc4234c18 (patch)
tree4261d7c3c324b9313f09df0a9914cbba785e78c9 /mail/message-browser.c
parent8de7c80602afe941093b4ef408b2805601abac38 (diff)
downloadgsoc2013-evolution-a70ed5cf833b20fb1c2e8cfd67223b6bc4234c18.tar
gsoc2013-evolution-a70ed5cf833b20fb1c2e8cfd67223b6bc4234c18.tar.gz
gsoc2013-evolution-a70ed5cf833b20fb1c2e8cfd67223b6bc4234c18.tar.bz2
gsoc2013-evolution-a70ed5cf833b20fb1c2e8cfd67223b6bc4234c18.tar.lz
gsoc2013-evolution-a70ed5cf833b20fb1c2e8cfd67223b6bc4234c18.tar.xz
gsoc2013-evolution-a70ed5cf833b20fb1c2e8cfd67223b6bc4234c18.tar.zst
gsoc2013-evolution-a70ed5cf833b20fb1c2e8cfd67223b6bc4234c18.zip
Set the ui to be the evolution-mail-global.xml file thingy. Still broken
2002-05-23 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-window.c (folder_browser_window_new): Set the ui to be the evolution-mail-global.xml file thingy. Still broken but oh well. I give up. bonobo-ui sucks. * message-browser.c (set_bonobo_ui): Fixed to not crash. svn path=/trunk/; revision=16994
Diffstat (limited to 'mail/message-browser.c')
-rw-r--r--mail/message-browser.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/mail/message-browser.c b/mail/message-browser.c
index ae318f1869..01e6fc1d1c 100644
--- a/mail/message-browser.c
+++ b/mail/message-browser.c
@@ -279,10 +279,11 @@ set_bonobo_ui (GtkWidget *widget, FolderBrowser *fb)
/* We just opened the message! We don't need to open it again. */
CORBA_exception_init (&ev);
+ /* remove the broken menus and toolbar items */
bonobo_ui_component_rm (uic, "/menu/File/FileOps/MessageOpen", &ev);
- if (BONOBO_EX (&ev))
- g_warning ("Couldn't remove message open item. Weird. Error: %s",
- bonobo_exception_get_text (&ev));
+ bonobo_ui_component_rm (uic, "/menu/Actions/ComponentActionsPlaceholder/MailMessageActions/GoTo", &ev);
+ bonobo_ui_component_rm (uic, "/menu/Tools", &ev);
+ bonobo_ui_component_rm (uic, "/Toolbar/MailNextButtons", &ev);
CORBA_exception_free (&ev);
/* Hack around the move/copy commands api's */