mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 16:10:48 +00:00
oops, removed debugging from NSApplication
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4730 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c2bfbe3350
commit
1a943b9250
1 changed files with 0 additions and 8 deletions
|
@ -1215,17 +1215,12 @@ NSAssert([event retainCount] > 0, NSInternalInconsistencyException);
|
|||
i++;
|
||||
}
|
||||
|
||||
NSLog(@"aString = %@", aString);
|
||||
|
||||
item = [menu insertItemWithTitle: aString
|
||||
action: @selector(makeKeyAndOrderFront:)
|
||||
keyEquivalent: @""
|
||||
atIndex: i];
|
||||
[item setTarget: aWindow];
|
||||
// [menu sizeToFit];
|
||||
NSLog(@"sizeToFit the windowsMenu.");
|
||||
[menu update];
|
||||
NSLog(@"update the windowsMenu.");
|
||||
}
|
||||
|
||||
- (void) removeWindowsItem: (NSWindow*)aWindow
|
||||
|
@ -1248,7 +1243,6 @@ NSLog(@"update the windowsMenu.");
|
|||
if ([item target] == aWindow)
|
||||
{
|
||||
[menu removeItem: item];
|
||||
// [menu sizeToFit];
|
||||
[menu update];
|
||||
break;
|
||||
}
|
||||
|
@ -1305,7 +1299,6 @@ NSLog(@"update the windowsMenu.");
|
|||
filename: [win representedFilename] != nil];
|
||||
[windows removeLastObject];
|
||||
}
|
||||
// [aMenu sizeToFit];
|
||||
[aMenu update];
|
||||
}
|
||||
}
|
||||
|
@ -1367,7 +1360,6 @@ NSLog(@"update the windowsMenu.");
|
|||
if (changed)
|
||||
{
|
||||
[(id)[item controlView] sizeToFit];
|
||||
// [menu sizeToFit];
|
||||
[menu update];
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue