home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / next / programm / 7092 < prev    next >
Encoding:
Text File  |  1992-11-08  |  1.9 KB  |  48 lines

  1. Newsgroups: comp.sys.next.programmer
  2. Path: 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
  3. From: wave@waits.media.mit.edu (Michael B. Johnson)
  4. Subject: Re: how to delete palette icon from IB preferences?
  5. Message-ID: <1992Nov8.015021.23023@news.media.mit.edu>
  6. Sender: news@news.media.mit.edu (USENET News System)
  7. Organization: MIT Media Laboratory
  8. References: <5NOV199214041116@mpx2.lampf.lanl.gov>
  9. Date: Sun, 8 Nov 1992 01:50:21 GMT
  10. Lines: 36
  11.  
  12. Dick Silbar writes
  13. > In trying to develop a custom palette (actually, help Charlie Fletcher
  14. > get nxyPalette working on 3.0) I found the following annoying "feature"
  15. > of the 3.0 Interface Builder.  You can have multiple copies of the 
  16. > palette icon in the Preferences panel which allows you to load or unload
  17. > a palette more quickly than going through the Tools menu item.  Fortunately
  18. > the pathname is given, so you can sort out which palette is which.
  19. > UNfortunately, I can't seem to delete the bad ones from that panel 
  20. > (employing the usual GUI tricks of highlight + <del> or <cmd-x>).
  21. > What's the trick here?
  22. >    Dick Silbar (NeXTMail:silbar@whistler.lanl.gov)
  23.  
  24. There must be a better way than this, but here's a trick I use:
  25.  
  26. Go into your ~/.NeXT directory, and look for a file called defaults.nibd.   
  27. There are three fields of interest:
  28.  
  29. ActivePalette
  30. AvailablePalettes
  31. Palettes
  32.  
  33. ActivePalette is a 0-based index into the Palettes list which says which  
  34. palette is selected when IB comes up.  AvailablePalettes lists the palettes IB  
  35. knows about (this is in the Preferences section).  Palettes lists the palettes  
  36. IB loads at launch time.
  37.  
  38. Hope this helps.
  39.    
  40. --
  41.  
  42. -->  Michael B. Johnson
  43. -->  MIT Media Lab      --  Computer Graphics & Animation Group
  44. -->  (617) 253-0663     --  wave@media-lab.media.mit.edu
  45. -->  NeXT Mail accepted at  wave@nordine.media.mit.edu
  46.