mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-23 19:51:00 +00:00
More corrections to repair file. Changed info to reflect SVN only status.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@25814 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d047746fce
commit
d5f30e29c8
3 changed files with 45 additions and 5 deletions
|
@ -1,3 +1,9 @@
|
|||
2008-01-01 14:03-EST Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormCore/GormGormWrapperLoader.m: More corrections to the
|
||||
_repairFile method.
|
||||
* GormInfo.plist: Changed to reflect SVN status
|
||||
|
||||
2007-12-31 21:22-EST Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* English.lproj/GormInconsistenciesPanel.gorm: Error panel to show
|
||||
|
|
|
@ -126,7 +126,7 @@
|
|||
NSArray *menus = findAll(obj);
|
||||
[_repairLog addObject:
|
||||
[NSString stringWithFormat: @"ERROR ==> Found and removed a dangling menu %@, %@.\n",
|
||||
obj,[document nameForObject: obj]]];
|
||||
obj, key]];
|
||||
[document detachObjects: menus];
|
||||
[document detachObject: obj];
|
||||
|
||||
|
@ -143,6 +143,7 @@
|
|||
/*
|
||||
* Take care of any dangling menu items...
|
||||
*/
|
||||
/*
|
||||
if([obj isKindOfClass: [NSMenuItem class]])
|
||||
{
|
||||
id m = [obj menu];
|
||||
|
@ -151,8 +152,8 @@
|
|||
id sm = [obj submenu];
|
||||
|
||||
[_repairLog addObject:
|
||||
[NSString stringWithFormat: @"ERROR ==> Found and removed a dangling menu item %@, %@.\n",
|
||||
obj,[document nameForObject: obj]]];
|
||||
[NSString stringWithFormat: @"ERROR ==> Found and removed an unattached menu item %@, %@.\n",
|
||||
obj, key]];
|
||||
[document detachObject: obj];
|
||||
|
||||
// if there are any submenus, detach those as well.
|
||||
|
@ -164,6 +165,7 @@
|
|||
errorCount++;
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
/*
|
||||
* If there is a view which is not associated with a name, give it one...
|
||||
|
@ -177,6 +179,38 @@
|
|||
while((v = [ven nextObject]) != nil)
|
||||
{
|
||||
NSString *name = nil;
|
||||
|
||||
// skip these...
|
||||
if([v isKindOfClass: [NSMatrix class]])
|
||||
{
|
||||
[_repairLog addObject: @"INFO: Skipping NSMatrix view.\n"];
|
||||
continue;
|
||||
}
|
||||
else if([v isKindOfClass: [NSScroller class]] &&
|
||||
[[v superview] isKindOfClass: [NSTextView class]])
|
||||
{
|
||||
[_repairLog addObject: @"INFO: Skipping NSScroller in an NSTextView.\n"];
|
||||
continue;
|
||||
}
|
||||
else if([v isKindOfClass: [NSScroller class]] &&
|
||||
[[v superview] isKindOfClass: [NSBrowser class]])
|
||||
{
|
||||
[_repairLog addObject: @"INFO: Skipping NSScroller in an NSTextView.\n"];
|
||||
continue;
|
||||
}
|
||||
else if([v isKindOfClass: [NSClipView class]] &&
|
||||
[[v superview] isKindOfClass: [NSTextView class]])
|
||||
{
|
||||
[_repairLog addObject: @"INFO: Skipping NSClipView in an NSTextView.\n"];
|
||||
continue;
|
||||
}
|
||||
else if([v isKindOfClass: [NSClipView class]] &&
|
||||
[[v superview] isKindOfClass: [NSBrowser class]])
|
||||
{
|
||||
[_repairLog addObject: @"INFO: Skipping NSClipView in an NSTextView.\n"];
|
||||
continue;
|
||||
}
|
||||
|
||||
if((name = [document nameForObject: v]) == nil)
|
||||
{
|
||||
[document attachObject: v toParent: [v superview]];
|
||||
|
|
|
@ -34,9 +34,9 @@
|
|||
ApplicationDescription = "[GNUstep | Graphical] Object Relationship Modeller";
|
||||
ApplicationIcon = "Gorm.tiff";
|
||||
ApplicationName = "Gorm";
|
||||
ApplicationRelease = "Gorm 1.2.2 (Release)";
|
||||
ApplicationRelease = "Gorm 1.2.3 (SVN)";
|
||||
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, 2006 FSF";
|
||||
CopyrightDescription = "Released under the GNU General Public License 3.0";
|
||||
NSBuildVersion = "1.2.2 Nov 05 2007";
|
||||
NSBuildVersion = "1.2.3 Dec 31 2007";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue