Whenever you try to set a font using the NSFontPanel, it sends a
changeFont: message to the main and key windows. However, the
changeFont: message will never be sent to another Panel, since panels
cannot become main, and the NSFontPanel takes key status as soon as you
click a button in it (removing the desired Panel from key status).
This can easily be fixed by the patching NSFontPanel's initialization:
diff -c -r1.29 NSFontPanel.m
*** NSFontPanel.m 2001/08/01 22:48:17 1.29
--- NSFontPanel.m 2001/10/10 20:17:27
***************
*** 598,603 ****
--- 598,604 ----
[self setMinSize: [self frame].size];
[self setInitialFirstResponder: setButton];
+ [self setBecomesKeyOnlyIfNeeded: YES];
return self;
}
But I wonder if this causes some other unintended consequences?
--
Adam Fedor, Digital Optics | Fudd's law of opposition: Push
[EMAIL PROTECTED] http://www.doc.com | something hard enough, and it
[EMAIL PROTECTED] http://www.gnustep.org | will fall over.
_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep