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

@ -225,6 +225,7 @@ static int _gs_gui_color_picker_mode = NSRGBModeColorPanel;
defer: NO
screen: nil];
[self setTitle: _(@"Colors")];
[self setBecomesKeyOnlyIfNeeded: YES];
v = [self contentView];