From 316e12adf3a30a39a589db519c49fd0f49d87338 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Wed, 13 Nov 2002 09:39:00 +0000 Subject: bonobo api changes. 2002-11-13 Not Zed * e-msg-composer.c (setup_ui): bonobo api changes. svn path=/trunk/; revision=18733 --- composer/ChangeLog | 2 ++ composer/e-msg-composer.c | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'composer') diff --git a/composer/ChangeLog b/composer/ChangeLog index 0367e3b593..803b59b4a5 100644 --- a/composer/ChangeLog +++ b/composer/ChangeLog @@ -1,5 +1,7 @@ 2002-11-13 Not Zed + * e-msg-composer.c (setup_ui): bonobo api changes. + * e-icon-list.c (e_icon_list_new): Use the right object_new method. * e-icon-list.h: get rid of BEGIN/END_GNOME_DECLS stuff. diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index cabd5929a7..c5f4ce1803 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -2000,8 +2000,7 @@ setup_ui (EMsgComposer *composer) char *default_charset; gboolean hide_smime; - container = bonobo_ui_container_new (); - bonobo_ui_container_set_win (container, BONOBO_WINDOW (composer)); + container = bonobo_window_get_ui_container(BONOBO_WINDOW (composer)); composer->uic = bonobo_ui_component_new_default (); /* FIXME: handle bonobo exceptions */ @@ -2707,7 +2706,8 @@ map_default_cb (EMsgComposer *composer, gpointer user_data) bonobo_object_release_unref (pb, NULL); if (!text || text[0] == '\0') { - bonobo_control_frame_focus_child (cf, GTK_DIR_TAB_FORWARD); +#warning "bonobo control frame focus child?" + /*bonobo_control_frame_focus_child (cf, GTK_DIR_TAB_FORWARD);*/ g_free (text); return; } -- cgit