aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.c
diff options
context:
space:
mode:
authorBertrand Guiheneuf <bertrand@src.gnome.org>2000-03-17 18:29:01 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>2000-03-17 18:29:01 +0800
commit198d97bdb85a63a70b1071ec93cf6d6f94049cc3 (patch)
tree6ccf318a048e9648adfb650f3a2f98b2e4bd4682 /composer/e-msg-composer.c
parent20bac518689be5938f5eb3421338348cdbf98d7b (diff)
downloadgsoc2013-evolution-198d97bdb85a63a70b1071ec93cf6d6f94049cc3.tar.gz
gsoc2013-evolution-198d97bdb85a63a70b1071ec93cf6d6f94049cc3.tar.zst
gsoc2013-evolution-198d97bdb85a63a70b1071ec93cf6d6f94049cc3.zip
Get the menubar to work.
svn path=/trunk/; revision=2118
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r--composer/e-msg-composer.c4
1 files changed, 2 insertions, 2 deletions
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);
}