Updated version and added logic to add menu items from a popup button to the document.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21662 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2005-08-19 04:25:52 +00:00
parent 81ef7c4c41
commit b12a81f134
4 changed files with 25 additions and 3 deletions

View file

@ -1,3 +1,10 @@
2005-08-19 00:24 Gregory John Casamento <greg_casamento@yahoo.com>
* GormCore/GormDocument.m: [GormDocument attachObject:toParent:]
handle popup button items.
* GormCore/GormFilePrefsManager.m: Updated version.
* GormInfo.plist: Updated version.
2005-08-18 23:22 Gregory John Casamento <greg_casamento@yahoo.com>
* GormCore/GormDocument.m: retrieveObjectForParent:.. check for

View file

@ -564,6 +564,21 @@ static NSImage *fileImage = nil;
// the proxy instead.
[self _instantiateFontManager];
}
/*
* Add the menu items from the popup.
*/
else if([anObject isKindOfClass: [NSPopUpButton class]])
{
NSPopUpButton *button = (NSPopUpButton *)anObject;
NSEnumerator *en = [[button itemArray] objectEnumerator];
id item = nil;
// add all of the items in the popup..
while((item = [en nextObject]) != nil)
{
[self attachObject: item toParent: button];
}
}
/*
* Add the menu item.
*/

View file

@ -83,7 +83,7 @@ NSString *formatVersion(int version)
+ (int) currentVersion
{
return appVersion(0,13,1);
return appVersion(0,13,2);
}
- (void) awakeFromNib

View file

@ -14,9 +14,9 @@
ApplicationDescription = "[GNUstep | Graphical] Object Relationship Modeller";
ApplicationIcon = "Gorm.tiff";
ApplicationName = "Gorm";
ApplicationRelease = "Gorm 0.13.1 (Alpha)";
ApplicationRelease = "Gorm 0.13.2 (Alpha)";
Authors = ("Gregory John Casamento <greg_casamento@yahoo.com>","Richard Frith-Macdonald <rfm@gnu.org>","Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>");
Copyright = "Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 FSF";
CopyrightDescription = "Released under the GNU General Public License 2.0";
NSBuildVersion = "0.13.1 Aug 07 2005";
NSBuildVersion = "0.13.2 Aug 18 2005";
}