[Nautilus-list] Bonobo item-container patch ...



	It would be great if this patch could be applied to HEAD Nautilus,
since a broken and unneccessary API is used that will be altered shortly
in HEAD bonobo causing breakage. [NB. this API is used nowhere else
outside bonobo].

	Here's the patch:

Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/nautilus/ChangeLog,v
retrieving revision 1.3312
diff -u -r1.3312 ChangeLog
--- ChangeLog	2001/01/10 23:58:41	1.3312
+++ ChangeLog	2001/01/11 00:37:01
@@ -1,3 +1,9 @@
+2001-01-11  Michael Meeks  <michael helixcode com>
+
+	* components/adapter/nautilus-adapter-embeddable-embed-strategy.c
+	(nautilus_adapter_embeddable_embed_strategy_new): remove redundant
+	bonobo_item_container_add.
+
 2001-01-10  Gene Z. Ragan  <gzr eazel com>
 
 	reviewed by: Pavel Cisler <pavel eazel com>
Index: components/adapter/nautilus-adapter-embeddable-embed-strategy.c
===================================================================
RCS
file: /cvs/gnome/nautilus/components/adapter/nautilus-adapter-embeddable-embed-strategy.c,v
retrieving revision 1.5
diff -u -r1.5 nautilus-adapter-embeddable-embed-strategy.c
--- components/adapter/nautilus-adapter-embeddable-embed-strategy.c
2000/11/16 22:16:32	1.5
+++ components/adapter/nautilus-adapter-embeddable-embed-strategy.c
2001/01/11 00:37:02
@@ -181,7 +181,6 @@
       	strategy->details->client_site = bonobo_client_site_new
(strategy->details->container);
 
 	bonobo_client_site_bind_embeddable
(strategy->details->client_site, strategy->details->embeddable_wrapper);
-	bonobo_item_container_add (strategy->details->container,
BONOBO_OBJECT (strategy->details->client_site));
 
 	strategy->details->view_frame = bonobo_client_site_new_view
(strategy->details->client_site, ui_container);
 	strategy->details->client_widget = bonobo_view_frame_get_wrapper
(strategy->details->view_frame);

	Regards,

		Michael.

-- 
 mmeeks gnu org  <><, Pseudo Engineer, itinerant idiot






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]