Make the GNUstep GUI builder Gorm usable again.

OK aja@
This commit is contained in:
sebastia 2012-07-13 15:40:43 +00:00
parent d7d6f2b4c2
commit 60b2386adb
3 changed files with 70 additions and 1 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.7 2012/07/08 13:41:52 sebastia Exp $
# $OpenBSD: Makefile,v 1.8 2012/07/13 15:40:43 sebastia Exp $
COMMENT= GNUstep graphical object relationship modeller
DISTNAME= gorm-1.2.18
REVISION = 0
HOMEPAGE= http://www.gnustep.org/experience/Gorm.html
MASTER_SITES= ${MASTER_SITE_GNUSTEP}dev-apps/

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-GormCore_GormDocument_m,v 1.1 2012/07/13 15:40:43 sebastia Exp $
Fix editing .gorm's with many views, i.e. AddressManager
or Fisicalab
--- GormCore/GormDocument.m.orig Tue Jun 19 06:47:30 2012
+++ GormCore/GormDocument.m Thu Jul 12 12:34:16 2012
@@ -1915,13 +1915,6 @@ static void _real_close(GormDocument *self,
{
[[self openEditorForObject: obj] activate];
}
- else if([obj isKindOfClass: [NSView class]])
- {
- if([obj superview] == nil)
- {
- [[self openEditorForObject: obj] activate];
- }
- }
}
}

View File

@ -0,0 +1,47 @@
$OpenBSD: patch-GormLib_IBObjectAdditions_m,v 1.1 2012/07/13 15:40:43 sebastia Exp $
Fix the Connection Inspector
--- GormLib/IBObjectAdditions.m.orig Tue Jul 10 20:39:09 2012
+++ GormLib/IBObjectAdditions.m Tue Jul 10 20:39:24 2012
@@ -71,40 +71,5 @@
return nil;
}
-- (NSImage *) imageForViewer
-{
- return nil;
-}
-
-- (NSString*) connectInspectorClassName
-{
- return nil;
-}
-
-- (NSString*) sizeInspectorClassName
-{
- return nil;
-}
-
-- (NSString*) helpInspectorClassName
-{
- return nil;
-}
-
-- (NSString*) classInspectorClassName
-{
- return nil;
-}
-
-- (NSString*) inspectorClassName;
-{
- return nil;
-}
-
-- (NSString*) editorClassName;
-{
- return nil;
-}
-
@end