aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-10-03 02:33:34 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-10-03 02:33:34 +0800
commit11c665c9250652c340c4f9636390f7cdbe1e7565 (patch)
tree3e449e23b7cde1a827a03d5c526af78c398eaeda /composer/e-msg-composer.c
parentdf580510c9788caa00731e6bbd227388b91f4695 (diff)
downloadgsoc2013-evolution-11c665c9250652c340c4f9636390f7cdbe1e7565.tar.gz
gsoc2013-evolution-11c665c9250652c340c4f9636390f7cdbe1e7565.tar.zst
gsoc2013-evolution-11c665c9250652c340c4f9636390f7cdbe1e7565.zip
Use `bonobo_ui_component_new_default()', not `bonobo_ui_component_new()'.
* e-shell-view.c (e_shell_view_construct): Use `bonobo_ui_component_new_default()', not `bonobo_ui_component_new()'. * mail-account-gui.c (launch_signature_editor): Use `bonobo_ui_component_new_default()', not `bonobo_ui_component_new()'. * e-msg-composer.c (setup_ui): Use `bonobo_ui_component_new_default()', not `bonobo_ui_component_new()'. * gui/dialogs/comp-editor.c (setup_widgets): Use `bonobo_ui_component_new_default()', not `bonobo_ui_component_new()'. svn path=/trunk/; revision=13306
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r--composer/e-msg-composer.c8
1 files changed, 3 insertions, 5 deletions
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)),