On Thu, Apr 19, 2012 at 09:50:03AM +0200, Fred Kiefer wrote: > Not sure whether your approach is the right way to solve the issue. > To me it rather looks like the way we implement things in gui makes > it hard for subclasses to do the right thing. > > If I remember correctly that extra flag in NSWidnowController was > only there to avoid loading the same failing NIB file twice. Not > sure whether that mechanism works at all after the change Jonathan > Gillaspie did two years ago. We could remove that flag and just > check whether _window is set. Or combine both and first check for > _window being non-null and next for the nib_is_loaded if we ever > want to make the functional again.
I hadn't considered modifying NSWindowController (and I don't know why) but I like your suggestion. This problem with Renaissance probably is a regression in gui anyway so it makes sense to fix the regression and allow easy subclassing. I'll give it a try tonight if nobody beats me to it. Thanks, Philippe -- Je n'ai jamais pu faire de yoga. Chaque fois qu'on me dit : 'Assied-toi et ne pense à rien', ça me rappelle trop le bureau. _______________________________________________ Gnustep-dev mailing list Gnustep-dev@gnu.org https://lists.gnu.org/mailman/listinfo/gnustep-dev