Minor improvement in display of themes to select from.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27497 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2009-01-02 10:19:59 +00:00
parent 1910620ea9
commit 3b1331a973
2 changed files with 5 additions and 2 deletions

View file

@ -1,9 +1,11 @@
2009-01-02 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Additions/GNUstepGUI/GSTheme.h:
* Source/GSThemePanel.m:
* Source/GSTheme.m:
Simplify +initialize, set name properly on initialisation, hide
Simplify +initialize. Set name properly on initialisation. Hide
private instance variables to make it easy to add new ones later.
Refrain from displaying backup versions of themes in selection panel.
2009-01-01 Fred Kiefer <FredKiefer@gmx.de>

View file

@ -283,7 +283,8 @@ static GSThemePanel *sharedPanel = nil;
name = [file stringByDeletingPathExtension];
if ([ext isEqualToString: @"theme"] == YES
&& [name isEqualToString: @"GNUstep"] == NO)
&& [name isEqualToString: @"GNUstep"] == NO
&& [[name pathExtension] isEqual: @"backup"] == NO)
{
[set addObject: name];
}