From 198d97bdb85a63a70b1071ec93cf6d6f94049cc3 Mon Sep 17 00:00:00 2001 From: Bertrand Guiheneuf Date: Fri, 17 Mar 2000 10:29:01 +0000 Subject: Get the menubar to work. svn path=/trunk/; revision=2118 --- composer/e-msg-composer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'composer/e-msg-composer.c') diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index d413b8d41a..3b822863dc 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -72,7 +72,7 @@ create_editor (EMsgComposer *composer) corba_uih = bonobo_object_corba_objref (BONOBO_OBJECT (composer->uih)); /* FIXME: Hardcoded value sucks! */ - control = bonobo_widget_new_control ("control:html-editor", corba_uih); + control = bonobo_widget_new_control ("control:html-editor", NULL /*corba_uih*/); if (control == NULL) { g_warning ("Cannot get the `control:html-editor' component."); return NULL; @@ -336,7 +336,7 @@ create_menubar (EMsgComposer *composer) bonobo_ui_handler_create_menubar (uih); - list = bonobo_ui_handler_menu_parse_uiinfo_list (menubar_info); + list = bonobo_ui_handler_menu_parse_uiinfo_list_with_data (menubar_info, composer); bonobo_ui_handler_menu_add_list (uih, "/", list); } -- cgit