Usability improvement: Make color and font panels key only when

necessary. Avoids annoying and unnecessary focus shifts when changing
colors or fonts.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29681 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
wlux 2010-02-20 00:20:30 +00:00
parent 007394b21d
commit 5515a56fd2
6 changed files with 33 additions and 2 deletions

View file

@ -542,6 +542,7 @@ static float sizes[] = {4.0, 6.0, 8.0, 9.0, 10.0, 11.0, 12.0, 13.0,
defer: YES
screen: nil];
[self setTitle: _(@"Font Panel")];
[self setBecomesKeyOnlyIfNeeded: YES];
v = [self contentView];