ftp.nice.ch/pub/next/tools/screen/backspace/old/SlideShow.N.bs.tar.gz#/SlideShow/PATCHES

README.Patches
 

new_BackSpace.nib


 
patch_ThinkMore.m
[View patch_ThinkMore.m] 
patch_Thinker.h
[View patch_Thinker.h] 
patch_Thinker.m
[View patch_Thinker.m] 

README.Patches

To install the "ViewPref" menu item in BackSpace:

	- cd to the BackSpace/backspace source directory
	- feed each patch_* file to the "patch" program:
		% foreach i (../SlideShow/PATCHES/patch_*)
		? patch < $i
		? end
	- copy new_BackSpace.nib into backspace_source_directory/BackSpace.nib:
		% mv BackSpace.nib BackSpace.nib.orig
		% cp ../SlideShow/PATCHES/new_BackSpace.nib BackSpace.nib
	- recompile

If you don't have the "patch" program,  get it from the Purdue archives,
next/2.0-release/source/patch-2.0.12u3.NeXT.tar.Z,
or install the following fixes by hand:

------------------------------

Thinker.h:

	Add this line before the "@end" of "@interface Thinker:Object"

	- doViewPref:sender;

Thinker.m

	Add these lines before the "@end" of "@implementation Thinker"

	- doViewPref:sender
	{
	    if ([spaceView respondsTo:@selector(doViewPref:)])
		[spaceView doViewPref:sender];
	    else
		NXRunAlertPanel([NXApp appName],
		    "Selected view does not respondTo \"doViewPref:\"\n",
		    NULL, NULL, NULL);

	    return self;
	}

------------------------------

Recompile BackSpace.

When SlideShow is the selected module, and "ViewPref" is punched,
a panel titled "SlideShow Preferences" should appear.  Any changes you 
make in this panel will take effect when you punch the "ok" button.  
Hitting "revert" will re-read the defaults database and display them.

Note:  If you change the Filelist or its contents,  you need to restart
BackSpace for that change to take effect.  (See the code in SlideShowViewPart,
commented ENABLE_RELOAD - it has a pretty nasty bug)

If a module does not respondTo doViewPref:,  an alert panel will appear.

Note that to take advantage of this in other modules,
you'll need to copy the new Thinker.h to that module's source directory.

If you do not have the extended release,  you will not be able to recompile.
If I receive more than 10 requests,  I will place my modified BackSpace
binary in the archives.  Otherwise,  don't worry.  It only lets you adjust
the defaults listed in README (that you can adjust with "dwrite")

------------------------------

If you want to make the changes to BackSpace.nib by hand,  follow these 
instructions:

edit BackSpace.nib with InterfaceBuilder:

	- highlight ThinkerInstance icon
	- type command-5 to bring up the Class inspector
	- hit the outlet/action switch so that "action" is highlighted
	- add "doViewPref:"

	- in the Palettes window,  select the Menu palette
	- click/drag an "Item" bar into the BackSpace menu
	  (either in the main menu, or under the Preferences menu)
	- rename "Item" to "ViewPref"
	- double-click on the far right side of the ViewPref menu cell, 
	  set this key equivalent to "f"

	- control/click/drag a connection from the "ViewPref" menu item
	  to the ThinkerInstance icon
	- double-click the "doViewPref:" action

	- select File->Save from the InterfaceBuilder main menu,  then Quit

------------------------------

Note:  the patch for ThinkMore.m has nothing to do with SlideShow.  It 
simply fixes a core-dumping bug that occurs when you have .o files installed
in the BackSpace.app directory that do not have a 'V' character in their name.

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.