mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 13:10:38 +00:00
* NSMenu.m->NSMenuMatrix in insertItemWithTitle: removed call to
_resizeMenuForCellSize for performance reasons. _resizeMenuForCellSize is called later on a sizeToFit. * NSMenu.m->NSMenuMatrix in removeItem: removed call to _resizeMenuForCellSize for performance reasons. _resizeMenuForCellSize is called later on a sizeToFit. * NSMenu.m->NSMenu in insertItemWithTitle: replaced call to _menuChanged with menuHasChanged=YES for performance reasons. * NSMenu.m->NSMenu in removeItem: replaced call to _menuChanged with menuHasChanged=YES for performance reasons. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2973 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e77403ce70
commit
24eac4c538
5 changed files with 66 additions and 53 deletions
|
@ -37,26 +37,24 @@
|
|||
//
|
||||
// Initialization
|
||||
//
|
||||
// Init instance of directory type
|
||||
- (id)initDirectoryWithFileWrappers:(NSDictionary *)docs
|
||||
{
|
||||
- (id)initDirectoryWithFileWrappers:(NSDictionary *)docs // Init instance of
|
||||
{ // directory type
|
||||
return nil;
|
||||
}
|
||||
// Init instance of regular file type
|
||||
- (id)initRegularFileWithContents:(NSData *)data
|
||||
{
|
||||
|
||||
- (id)initRegularFileWithContents:(NSData *)data // Init instance of
|
||||
{ // regular file type
|
||||
return nil;
|
||||
}
|
||||
// Init instance of symbolic link type
|
||||
- (id)initSymbolicLinkWithDestination:(NSString *)path
|
||||
{
|
||||
|
||||
- (id)initSymbolicLinkWithDestination:(NSString *)path // Init instance of
|
||||
{ // symbolic link type
|
||||
return nil;
|
||||
}
|
||||
// Init an instance from the file,
|
||||
// directory, or symbolic link at path.
|
||||
// This can create a tree of instances
|
||||
- (id)initWithPath:(NSString *)path // with a directory instance at the top
|
||||
{
|
||||
- (id)initWithPath:(NSString *)path // This can create a tree of instances
|
||||
{ // with a directory instance at the top
|
||||
return nil;
|
||||
}
|
||||
// Init an instance from data in std
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue