mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-24 03:51:22 +00:00
Removed old code, correction for crash.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21469 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2be1a8d168
commit
5de62d0575
3 changed files with 7 additions and 44 deletions
|
@ -1,3 +1,10 @@
|
|||
2005-07-14 00:05 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormCore/GormInspectorsManager.m: Removed commented out
|
||||
code.
|
||||
* Palettes/3Containers/GormNSTableColumnInspector.gorm: Changed
|
||||
"Is visible at launch" to NO to prevent exception.
|
||||
|
||||
2005-07-13 22:51 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Palettes/2Controls/GormButtonEditor.m: Corrected issue with
|
||||
|
|
|
@ -311,15 +311,6 @@
|
|||
selector: @selector(handleNotification:)
|
||||
name: IBWillEndTestingInterfaceNotification
|
||||
object: nil];
|
||||
/*
|
||||
[nc addObserver: self
|
||||
selector: @selector(updateInspectorPopUp:)
|
||||
name: NSPopUpButtonWillPopUpNotification
|
||||
object: popup];
|
||||
|
||||
[popup setTarget: self];
|
||||
[popup setAction: @selector(updateInspectorPopUp:)];
|
||||
*/
|
||||
}
|
||||
|
||||
return self;
|
||||
|
@ -663,41 +654,6 @@
|
|||
// load the object.
|
||||
[inspector revert: self];
|
||||
}
|
||||
|
||||
/**
|
||||
* This is to include the formatter item in the pop up button
|
||||
* if the selected object in Gorm has a formatter set
|
||||
*
|
||||
- (void) updateInspectorPopUp: (NSNotification*)aNotification
|
||||
{
|
||||
NSArray *selection = [[(id<IB>)NSApp selectionOwner] selection];
|
||||
id obj = [selection lastObject];
|
||||
|
||||
// See if the selected object has a formatter
|
||||
if (HASFORMATTER(obj))
|
||||
{
|
||||
// Ifso add the Formatter menu item if not already there
|
||||
if ([popup numberOfItems] < 6)
|
||||
{
|
||||
NSMenuItem *item;
|
||||
[popup addItemWithTitle: _(@"Formatter")];
|
||||
item = (NSMenuItem *)[popup itemAtIndex: 5];
|
||||
[item setTarget: self];
|
||||
[item setAction: @selector(setCurrentInspector:)];
|
||||
[item setKeyEquivalent: @"6"];
|
||||
[item setTag: 5];
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// Remove the Formatter menu item
|
||||
if ([popup numberOfItems] == 6)
|
||||
{
|
||||
[popup removeItemAtIndex: 5];
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
@end
|
||||
|
||||
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue