Forge updates -- an icon for .forge files, some app info updates, and a

nib-loading fix for MainPrefs.
This commit is contained in:
Jeff Teunissen 2002-01-26 05:13:25 +00:00
parent 9585b6af92
commit 8ef321e2e8
4 changed files with 19 additions and 7 deletions

View File

@ -2,9 +2,11 @@ include $(GNUSTEP_MAKEFILES)/common.make
BUNDLE_NAME= MainPrefs BUNDLE_NAME= MainPrefs
BUNDLE_EXTENSION= .forgeb BUNDLE_EXTENSION= .forgeb
BUNDLE_INSTALL_DIR= $(GNUSTEP_LOCAL_ROOT)/Library/Forge #
# We don't install this bundle, it goes inside the app.
#
#BUNDLE_INSTALL_DIR= $(GNUSTEP_LOCAL_ROOT)/Library/Forge
MainPrefs_MAIN_MODEL_FILE= MainPrefs.gorm
MainPrefs_RESOURCE_FILES= \ MainPrefs_RESOURCE_FILES= \
MainPrefs.gorm MainPrefs.gorm
@ -19,9 +21,6 @@ MainPrefs_HEADERS= \
MainPrefs_PRINCIPAL_CLASS= \ MainPrefs_PRINCIPAL_CLASS= \
MainPrefs MainPrefs
#MainPrefs_RESOURCE_FILES= \
# Forge.tiff
-include GNUmakefile.preamble -include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/bundle.make include $(GNUSTEP_MAKEFILES)/bundle.make

View File

@ -144,8 +144,8 @@ static id <BundleDelegate> owner = nil;
self = [super init]; self = [super init];
owner = anOwner; owner = anOwner;
[owner registerPrefsController: self]; [owner registerPrefsController: self];
if (![NSBundle loadNibNamed: @"MainPrefsView" owner: self]) { if (![NSBundle loadNibNamed: @"MainPrefs" owner: self]) {
NSLog (@"MainPrefs: Could not load nib \"MainPrefsView\", using compiled version"); NSLog (@"MainPrefs: Could not load nib \"MainPrefs\", using compiled version");
view = [[MainPrefsView alloc] initWithOwner: self andFrame: PrefsRect]; view = [[MainPrefsView alloc] initWithOwner: self andFrame: PrefsRect];
// hook up to our outlet(s) // hook up to our outlet(s)

View File

@ -10,4 +10,16 @@
Copyright = "Copyright (C) 2001 Dusk To Dawn Computing, Inc."; Copyright = "Copyright (C) 2001 Dusk To Dawn Computing, Inc.";
CopyrightDescription = "Released under the GNU GPL. See COPYING for details."; CopyrightDescription = "Released under the GNU GPL. See COPYING for details.";
FullVersionID = "0.1.0 (Development)"; FullVersionID = "0.1.0 (Development)";
NSTypes = (
{
NSName = "forge";
NSHumanReadableName = "Forge project file";
NSUnixExtensions = ("forge");
NSDOSExtensions = ("forge");
NSMIMETypes = ("application/x-forge-project");
NSIcon = ForgeDocument;
NSRole = Editor;
NSDocumentClass = Document;
}
);
} }

View File

@ -54,6 +54,7 @@ Forge_RESOURCE_FILES= \
Bundles/MainPrefs/MainPrefs.forgeb \ Bundles/MainPrefs/MainPrefs.forgeb \
Forge.gorm \ Forge.gorm \
Forge.tiff \ Forge.tiff \
ForgeDocument.tiff \
ForgeInfo.plist ForgeInfo.plist
Forge_LOCALIZED_RESOURCE_FILES= \ Forge_LOCALIZED_RESOURCE_FILES= \