Add license to the Theme properties

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36889 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Riccardo Mottola 2013-07-15 13:20:41 +00:00
parent 405b577cd1
commit 28fff5bc13
3 changed files with 16 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2013-07-15 Riccardo Mottola <rm@gnu.org>
* Headers/Additions/GNUstepGUI/GSTheme.h
* Source/GSTheme.m
Add license to the Theme properties.
2013-07-11 German A. Arias <german@xelalug.org>
* Source/NSMenu.m (-displayTransient): Push an arrow cursor when

View file

@ -712,6 +712,11 @@ APPKIT_EXPORT NSString *GSThemeWillDeactivateNotification;
*/
- (NSString*) versionString;
/**
* Return the theme's license.
*/
- (NSString*) license;
@end
/**

View file

@ -1202,6 +1202,11 @@ typedef struct {
return [[self infoDictionary] objectForKey: @"GSThemeVersion"];
}
- (NSString *) license
{
return [[self infoDictionary] objectForKey: @"GSThemeLicense"];
}
@end
@implementation GSTheme (Private)