From 150fcadcd211229444910f2799212c27a247fa60 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Sat, 23 Sep 2000 15:41:21 +0000 Subject: Updates for the Bonobo changes from Michael who is having some troubles with CVS at home (so I commit this on his behalf). svn path=/trunk/; revision=5560 --- addressbook/gui/contact-editor/e-contact-editor.c | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'addressbook/gui/contact-editor/e-contact-editor.c') diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c index 07c4bf9dc3..42782fc549 100644 --- a/addressbook/gui/contact-editor/e-contact-editor.c +++ b/addressbook/gui/contact-editor/e-contact-editor.c @@ -739,7 +739,7 @@ static void create_ui (EContactEditor *ce) { char *fname; - xmlNode *ui; + BonoboUINode *ui; BonoboUIComponent *component; Bonobo_UIContainer container; @@ -748,17 +748,11 @@ create_ui (EContactEditor *ce) bonobo_ui_component_add_verb_list_with_data ( component, verbs, ce); - - fname = bonobo_ui_util_get_ui_fname ( - EVOLUTION_DATADIR, "evolution-contact-editor.xml"); - g_warning ("Attempting ui load from '%s'", fname); - - ui = bonobo_ui_util_new_ui (component, fname, "evolution-contact-editor"); - - bonobo_ui_component_set_tree (component, container, "/", ui, NULL); - g_free (fname); - xmlFreeNode (ui); + bonobo_ui_util_set_ui (component, container, + EVOLUTION_DATADIR, + "evolution-contact-editor.xml", + "evolution-contact-editor"); } /* Callback used when the dialog box is destroyed */ -- cgit v1.2.3