Hi Jan,
I am sorry for not having answered before but I have some problem with mails 
and mailing lists - why I never received this message ? - I seem to receive only 
a random selection of the messages - anyway I just found your message 
on the geocrawler archive.  Please Cc: any answer to <[EMAIL PROTECTED]>; 
this seems the only sure way for me to read the message.

NSBrowser and gmodels: please try the patch in attach for core/gui/Model/GMAppKit.m; 
if it works, we can apply it.

NSWindows style mask lost while converting nibs --> gmodels; this is a  known problem 
but the solution is unknown.  As far as I remember, the gmodel is encoded on OPENSTEP 
with the 
wrong style mask; the crime happens in nib2gmodel, while running on OPENSTEP, so I 
have 
never been able to try it myself and check what's happening.  If you can find out why 
the encoded style mask is wrong, that would be great.  I remember I thought perhaps 
the 
window style masks enumerations could have been different between GNUstep and 
OPENSTEP, 
but some tester having an OPENSTEP system told me this was not the case, but I was 
never able 
to get enough information about what's happening on OPENSTEP to fix the bug.
Index: GMAppKit.m
===================================================================
RCS file: /gnustep/gnustep/core/gui/Model/GMAppKit.m,v
retrieving revision 1.72
diff -u -r1.72 GMAppKit.m
--- GMAppKit.m  2000/09/06 12:48:23     1.72
+++ GMAppKit.m  2000/09/10 15:25:14
@@ -1392,8 +1392,6 @@
 
     self = [super initWithModelUnarchiver:unarchiver];
     
-    [self setPath:[unarchiver decodeStringWithName:@"path"]];
-    [self setPathSeparator:[unarchiver decodeStringWithName:@"pathSeparator"]];
     [self setAllowsBranchSelection:[unarchiver
                       decodeBOOLWithName:@"allowsBranchSelection"]];
     [self setAllowsEmptySelection:[unarchiver
@@ -1425,6 +1423,9 @@
        [self setDelegate:delegate];
 
     [self setDoubleAction:[unarchiver decodeSelectorWithName:@"doubleAction"]];
+    [self setPathSeparator:[unarchiver decodeStringWithName:@"pathSeparator"]];
+    [self setPath:[unarchiver decodeStringWithName:@"path"]];
+
     return self;
 }
 

Reply via email to