🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.next.programmer
4 messages
4 total messages Started by Dick Silbar Thu, 05 Nov 1992 21:04
how to delete palette icon from IB preferences?
#1317
Author: Dick Silbar
Date: Thu, 05 Nov 1992 21:04
12 lines
1205 bytes
In trying to develop a custom palette (actually, help Charlie Fletcher
get nxyPalette working on 3.0) I found the following annoying "feature"
of the 3.0 Interface Builder.  You can have multiple copies of the 
palette icon in the Preferences panel which allows you to load or unload
a palette more quickly than going through the Tools menu item.  Fortunately
the pathname is given, so you can sort out which palette is which.
UNfortunately, I can't seem to delete the bad ones from that panel 
(employing the usual GUI tricks of highlight + <del> or <cmd-x>).

What's the trick here?

   Dick Silbar (NeXTMail:silbar@whistler.lanl.gov)
Re: how to delete palette icon from IB preferences?
#1367
Author: Alex Blakemore
Date: Sat, 07 Nov 1992 04:38
10 lines
869 bytes
In article <5NOV199214041116@mpx2.lampf.lanl.gov> silbar@mpx2.lampf.lanl.gov (Dick Silbar) writes:
> [the] palette icon in the Preferences panel ... allows you to load or unload a palette 
> I can't seem to delete the bad ones from that panel. What's the trick here?

edit ~/.NeXT/defaults.nibd


-- 
---------------------------------------------------
Alex Blakemore alex@cs.umd.edu   NeXT mail accepted
Re: how to delete palette icon from IB preferences?
#1379
Author: Michael B. Johnson
Date: Sun, 08 Nov 1992 01:50
36 lines
1975 bytes
Dick Silbar writes
> In trying to develop a custom palette (actually, help Charlie Fletcher
> get nxyPalette working on 3.0) I found the following annoying "feature"
> of the 3.0 Interface Builder.  You can have multiple copies of the 
> palette icon in the Preferences panel which allows you to load or unload
> a palette more quickly than going through the Tools menu item.  Fortunately
> the pathname is given, so you can sort out which palette is which.
> UNfortunately, I can't seem to delete the bad ones from that panel 
> (employing the usual GUI tricks of highlight + <del> or <cmd-x>).
> 
> What's the trick here?
> 
>    Dick Silbar (NeXTMail:silbar@whistler.lanl.gov)

There must be a better way than this, but here's a trick I use:

Go into your ~/.NeXT directory, and look for a file called defaults.nibd.   
There are three fields of interest:

ActivePalette
AvailablePalettes
Palettes

ActivePalette is a 0-based index into the Palettes list which says which  
palette is selected when IB comes up.  AvailablePalettes lists the palettes IB  
knows about (this is in the Preferences section).  Palettes lists the palettes  
IB loads at launch time.

Hope this helps.
   
--

-->  Michael B. Johnson
-->  MIT Media Lab      --  Computer Graphics & Animation Group
-->  (617) 253-0663     --  wave@media-lab.media.mit.edu
-->  NeXT Mail accepted at  wave@nordine.media.mit.edu
Re: how to delete palette icon from IB preferences?
#1396
Author: Patrick Hester
Date: Mon, 09 Nov 1992 17:37
28 lines
1703 bytes
In article <5NOV199214041116@mpx2.lampf.lanl.gov>  
silbar@mpx2.lampf.lanl.gov (Dick Silbar) writes:
> In trying to develop a custom palette (actually, help Charlie Fletcher
> get nxyPalette working on 3.0) I found the following annoying "feature"
> of the 3.0 Interface Builder.  You can have multiple copies of the 
> palette icon in the Preferences panel which allows you to load or unload
> a palette more quickly than going through the Tools menu item.   
Fortunately
> the pathname is given, so you can sort out which palette is which.
> UNfortunately, I can't seem to delete the bad ones from that panel 
> (employing the usual GUI tricks of highlight + <del> or <cmd-x>).
> 
> What's the trick here?
> 
>    Dick Silbar (NeXTMail:silbar@whistler.lanl.gov)

Yeah, that is annoying.
I've got two workarounds.

The first is to rename the directory containing your unwanted palette.
Then restart IB. It will fail to find the palette and remove it from
the list.

The second way is to edit your .NeXT/defaults.nibd and remove the 
unwanted palette from the AvailablePalettes list. No doubt there is
a more elegant (dwrite) way to do this, but I like to play with fire.

Patrick Hester  ph@pencom.com  (212) 513-7777  NeXT Mail OK  =8(\/\)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads