Shaping,
The recommended procedure for getting a fresh start with flaps (i.e. destroying all the old ones, and getting pristine new ones) is simply to evaluate:
Utilities reinstateDefaultFlaps
If you press the "about flaps" button in the "Squeak" flap, you'll get a window entitled "Flaps in Morphic", which contains documentation about flaps. You'll find a paragraph about reinstating flaps there, which inclues the above recommendation.
-- Scott
At 6:14 AM -0700 4/30/99, shaping@bigfoot.com wrote:
----- Original Message ----- From: Dan Ingalls DanI@wdi.disney.com To: Joshua Gargus gargus@ugrad.cs.ualberta.ca Cc: squeak@cs.uiuc.edu Sent: Thursday, March 25, 1999 1:17 PM Subject: Re: default text size problem.
Josh -
Yet another idea is to destroy the global flaps, and rerun whatever initialization method(s) created them during the filein process. I don't know how complicated this would be; I've been unable to find out how to do this, either.
Having just visited this region for other reasons (space reclamation), I
offer the following suggestion:
Use the preferences... window to set useGlobalFlaps to false.
Browse to System-Support/Utilities
In the class pane choose class vars to inspec the class variables
Select the item 'FlapTabs' -- it will show an orderedCollection
In the value pane, select all that, replace it by 'nil' (without the
quotes),
and choose 'save' from the menu or use cmd-s
This should put you in such a condition that, if you then turn the
useGlobalFlaps preferences on again, it will recreate things from scratch.
Doing the above flush and rebuild in 2.4b creates a second set of flaps; the original set is still there. Is this correct?
Shaping
----- Original Message ----- From: Scott.Wallace@disney.com To: shaping@bigfoot.com Cc: squeak@cs.uiuc.edu Sent: Friday, April 30, 1999 11:24 AM Subject: Re: default text size problem.
The recommended procedure for getting a fresh start with flaps (i.e.
destroying all the old ones, and getting pristine new ones) is simply to evaluate:
Utilities reinstateDefaultFlaps
Thanks for that. Why then was the procedure below offered? I thought there might have been a subtle difference, but don't recall what it was.
Shaping
At 6:14 AM -0700 4/30/99, shaping@bigfoot.com wrote:
----- Original Message ----- From: Dan Ingalls DanI@wdi.disney.com To: Joshua Gargus gargus@ugrad.cs.ualberta.ca Cc: squeak@cs.uiuc.edu Sent: Thursday, March 25, 1999 1:17 PM Subject: Re: default text size problem.
Josh -
Yet another idea is to destroy the global flaps, and rerun whatever initialization method(s) created them during the filein process. I don't know how complicated this would be; I've been unable to find out how to do this, either.
Having just visited this region for other reasons (space reclamation),
I
offer the following suggestion:
Use the preferences... window to set useGlobalFlaps to false.
Browse to System-Support/Utilities
In the class pane choose class vars to inspec the class variables
Select the item 'FlapTabs' -- it will show an orderedCollection
In the value pane, select all that, replace it by 'nil' (without
the
quotes),
and choose 'save' from the menu or use cmd-s
This should put you in such a condition that, if you then turn the
useGlobalFlaps preferences on again, it will recreate things from
scratch.
Doing the above flush and rebuild in 2.4b creates a second set of flaps;
the
original set is still there. Is this correct?
Shaping
Shaping,
Re:
... Thanks for that. Why then was the procedure (Dan's) below offered? I thought there might have been a subtle difference, but don't recall what it was.
Dan and I had both independently responded to Joshua's March 25 query.
The history of this particular mixup is simply that Dan had coincidentally just been poking around in some of the relevant data structures, and so he helpfully shot off a quick, speculative reply, unaware that there was a direct (and documented) mechanism provided for accomplishing the reinstatement of default flaps, and also unaware that the steps he suggested could leave duplicate flaps lying around.
I can understand why, faced with conflicting advice proffered by Dan and by someone else, the reader would give primacy to Dan's. I certainly would!
-- Scott
------
Date: Thu, 25 Mar 1999 10:37:06 -0800 To: gargus@ugrad.cs.ualberta.ca, squeak@cs.uiuc.edu From: SWallace scottw@wdi.disney.com Subject: Re: default text size problem.
Joshua,
Just evaluate:
Utilities reinstateDefaultFlaps
and all will come right -- the prototypes in the Tools flap will be reconstituted, and will reflect your changed default text size.
-- Scott
------
Thu, 25 Mar 1999 10:17:18 -0800 To: Joshua Gargus gargus@ugrad.cs.ualberta.ca From: Dan Ingalls DanI@wdi.disney.com Subject: Re: default text size problem. Cc: squeak@cs.uiuc.edu
Josh -
...Having just visited this region for other reasons (space reclamation), I offer the following suggestion:
Use the preferences... window to set useGlobalFlaps to false.
Browse to System-Support/Utilities
In the class pane choose class vars to inspec the class variables
Select the item 'FlapTabs' -- it will show an orderedCollection
In the value pane, select all that, replace it by 'nil' (without
the quotes), and choose 'save' from the menu or use cmd-s
This should put you in such a condition that, if you then turn the useGlobalFlaps preferences on again, it will recreate things from scratch.
Good luck.
- Dan
squeak-dev@lists.squeakfoundation.org