aboutsummaryrefslogtreecommitdiffstats
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
parent20bac518689be5938f5eb3421338348cdbf98d7b (diff)
downloadgsoc2013-evolution-198d97bdb85a63a70b1071ec93cf6d6f94049cc3.tar
gsoc2013-evolution-198d97bdb85a63a70b1071ec93cf6d6f94049cc3.tar.gz
gsoc2013-evolution-198d97bdb85a63a70b1071ec93cf6d6f94049cc3.tar.bz2
gsoc2013-evolution-198d97bdb85a63a70b1071ec93cf6d6f94049cc3.tar.lz
gsoc2013-evolution-198d97bdb85a63a70b1071ec93cf6d6f94049cc3.tar.xz
gsoc2013-evolution-198d97bdb85a63a70b1071ec93cf6d6f94049cc3.tar.zst
gsoc2013-evolution-198d97bdb85a63a70b1071ec93cf6d6f94049cc3.zip
Get the menubar to work.
svn path=/trunk/; revision=2118
-rw-r--r--composer/ChangeLog5
-rw-r--r--composer/e-msg-composer.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index bae09c37ab..9526622354 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,8 @@
+2000-03-17 bertrand <bertrand@helixcode.com>
+
+ * e-msg-composer.c (create_menubar): Pass the composer as the data
+ for the menubar callbacks.
+
2000-03-12 Matt Loper <matt@helixcode.com>
* Makefile.am: Modified to make the composer into a library, to be
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);
}