Hullo,

the following "patch" will fix a "bug" in EtoileMenuServer that raises an exception if a Menulet isn't properly initializing (eg. by returning 'nil' in -init).

--- MenuletLoader.m.ORG Fri May 12 18:49:33 2006
+++ MenuletLoader.m     Fri May 12 18:49:33 2006
@@ -79,7 +79,8 @@

       menulet = [[bundle principalClass] new];

-      [array addObject: menulet];
+      if( menulet )
+        [array addObject: menulet];
       view = [menulet menuletView];
       frame = [view frame];

--
Chris



_______________________________________________
Etoile-dev mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-dev

Reply via email to