aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
Diffstat (limited to 'composer')
-rw-r--r--composer/ChangeLog6
-rw-r--r--composer/e-msg-composer.c8
2 files changed, 9 insertions, 5 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index dc4d727a8c..925b4b6898 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,9 @@
+2001-10-02 Ettore Perazzoli <ettore@ximian.com>
+
+ * e-msg-composer.c (setup_ui): Use
+ `bonobo_ui_component_new_default()', not
+ `bonobo_ui_component_new()'.
+
2001-09-27 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment.c (e_msg_composer_attachment_new):
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 61ba59b32b..030a7339ff 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -1695,12 +1695,10 @@ setup_ui (EMsgComposer *composer)
container = bonobo_ui_container_new ();
bonobo_ui_container_set_win (container, BONOBO_WINDOW (composer));
- composer->uic = bonobo_ui_component_new ("evolution-message-composer");
- bonobo_ui_component_set_container (
- composer->uic, bonobo_object_corba_objref (BONOBO_OBJECT (container)));
+ composer->uic = bonobo_ui_component_new_default ();
+ bonobo_ui_component_set_container (composer->uic, bonobo_object_corba_objref (BONOBO_OBJECT (container)));
- bonobo_ui_component_add_verb_list_with_data (
- composer->uic, verbs, composer);
+ bonobo_ui_component_add_verb_list_with_data (composer->uic, verbs, composer);
/* Customize Toolbar thingie */
bonobo_ui_engine_config_set_path (bonobo_window_get_ui_engine (BONOBO_WINDOW (composer)),