mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-23 11:41:05 +00:00
Fix the rest of the issues mentioned in savannah bug#25310
This commit is contained in:
parent
214583b518
commit
ca58e9480c
2 changed files with 11 additions and 3 deletions
|
@ -57,6 +57,7 @@
|
|||
NSPasteboard *dragPb;
|
||||
NSString *dragType;
|
||||
}
|
||||
|
||||
- (BOOL) acceptsTypeFromArray: (NSArray*)types;
|
||||
- (BOOL) activate;
|
||||
- (id) initWithObject: (id)anObject inDocument: (id<IBDocuments>)aDocument;
|
||||
|
@ -78,6 +79,7 @@
|
|||
- (void) validateEditing;
|
||||
- (BOOL) wantsSelection;
|
||||
- (NSWindow*) window;
|
||||
|
||||
@end
|
||||
|
||||
@interface GormMenuEditor (Private)
|
||||
|
@ -1104,6 +1106,8 @@ static BOOL done_editing;
|
|||
[[editField currentEditor] resignFirstResponder];
|
||||
[self setNeedsDisplay: YES];
|
||||
|
||||
[[self document] touch];
|
||||
|
||||
return e;
|
||||
}
|
||||
@end
|
||||
|
|
|
@ -179,13 +179,17 @@
|
|||
- (id) init
|
||||
{
|
||||
if ([super init] == nil)
|
||||
return nil;
|
||||
|
||||
if ([NSBundle loadNibNamed: @"GormMenuItemAttributesInspector" owner: self] == NO)
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
if ([NSBundle loadNibNamed: @"GormMenuItemAttributesInspector"
|
||||
owner: self] == NO)
|
||||
{
|
||||
NSLog(@"Could not gorm GormMenuItemAttributesInspector");
|
||||
return nil;
|
||||
}
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue