mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 15:30:38 +00:00
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:
parent
1910620ea9
commit
3b1331a973
2 changed files with 5 additions and 2 deletions
|
@ -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>
|
||||
|
||||
|
|
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue