🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #1379

Re: how to delete palette icon from IB preferences?

#1379
From: 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
Technical Details
Message-ID: <1992Nov8.015021.23023@news.media.mit.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!destroyer!cs.ubc.ca!uw-beaver!micro-heart-of-gold.mit.edu!news.media.mit.edu!news
References: <5NOV199214041116@mpx2.lampf.lanl.gov>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!destroyer!cs.ubc.ca!uw-beaver!micro-heart-of-gold.mit.edu!news.media.mit.edu!news
From: wave@waits.media.mit.edu (Michael B. Johnson)
Subject: Re: how to delete palette icon from IB preferences?
Message-ID: <1992Nov8.015021.23023@news.media.mit.edu>
Sender: news@news.media.mit.edu (USENET News System)
Organization: MIT Media Laboratory
References: <5NOV199214041116@mpx2.lampf.lanl.gov>
Date: Sun, 8 Nov 1992 01:50:21 GMT
Lines: 36