bug-gnustep
[Top][All Lists]
Advanced

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

Re: ANN: nib2gmodel version 0.9.0


From: Georg Fleischmann
Subject: Re: ANN: nib2gmodel version 0.9.0
Date: Wed, 13 Oct 2004 17:57:50 GMT

Hi Adam,

> I want to make a few other changes then I'll probably
> package it up and have you try it out again...

Ok.

I also got an exception with popup buttons (on OpenStep) and now figured out  
how to fix it. Attached is the exception I got and the patch.
[[self selectedItem] title] works, but [self title] didn't work at this point.

Georg


Oct 13 17:13:19 nib2gmodel[19038] *** -[NSMenuTemplate count]: selector not  
recognized
Oct 13 17:15:01 nib2gmodel[19038] *** Uncaught exception:  
<NSInvalidArgumentException> *** -[NSMenuTemplate count]: selector not  
recognized




*** gui/Model/GMAppKit.m.old    Mon Oct 11 17:38:53 2004
--- gui/Model/GMAppKit.m        Wed Oct 13 17:46:20 2004
***************
*** 983,989 ****
  #endif

    //[archiver encodeString:[self titleOfSelectedItem] 
withName:@"selectedItem"];
!   [archiver encodeString:[self title] withName:@"selectedItem"];
  }

  + (id)createObjectForModelUnarchiver:(GMUnarchiver*)unarchiver
--- 983,989 ----
  #endif

    //[archiver encodeString:[self titleOfSelectedItem] 
withName:@"selectedItem"];
!   [archiver encodeString:[[self selectedItem] title] 
withName:@"selectedItem"];
  }

  + (id)createObjectForModelUnarchiver:(GMUnarchiver*)unarchiver




reply via email to

[Prev in Thread] Current Thread [Next in Thread]