<div dir="ltr">Hmm.  Direct manipulation.<div>What if we had a spot in the halo menu to &#39;remove from DockingBar forever&#39; which then set the preference?  One time direct manipulation without having to redo it later.</div><div>Of course, it would be added back in later via the preferences.</div><div>-cbc</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 15, 2016 at 8:28 AM, Chris Muller <span dir="ltr">&lt;<a href="mailto:asqueaker@gmail.com" target="_blank">asqueaker@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I was wondering whether Preferences are the best way to control these<br>
or whether the user could simply remove the ones they don&#39;t want by<br>
blue-clicking and then clicking the close halo (X)...<br>
<br>
I know when the DockingBar is regenerated they would have to re-remove<br>
them, but still...  we do have a live, direct-manuipulation system,<br>
sometimes we should be able to fall back on it..?<br>
<div class="HOEnZb"><div class="h5"><br>
On Wed, Jun 15, 2016 at 1:29 AM,  &lt;<a href="mailto:commits@source.squeak.org">commits@source.squeak.org</a>&gt; wrote:<br>
&gt; Marcel Taeumel uploaded a new version of Morphic to project The Trunk:<br>
&gt; <a href="http://source.squeak.org/trunk/Morphic-mt.1179.mcz" rel="noreferrer" target="_blank">http://source.squeak.org/trunk/Morphic-mt.1179.mcz</a><br>
&gt;<br>
&gt; ==================== Summary ====================<br>
&gt;<br>
&gt; Name: Morphic-mt.1179<br>
&gt; Author: mt<br>
&gt; Time: 15 June 2016, 8:28:59.901896 am<br>
&gt; UUID: 798fffba-733f-3444-840e-84baabd04da4<br>
&gt; Ancestors: Morphic-mt.1178<br>
&gt;<br>
&gt; Add the world&#39;s Do-menu to the world main docking bar. Can be hidden via preferences.<br>
&gt;<br>
&gt; =============== Diff against Morphic-mt.1178 ===============<br>
&gt;<br>
&gt; Item was added:<br>
&gt; + ----- Method: TheWorldMainDockingBar class&gt;&gt;showDoMenuInWorldMainDockingBar (in category &#39;preferences&#39;) -----<br>
&gt; + showDoMenuInWorldMainDockingBar<br>
&gt; +<br>
&gt; +       &lt;preference: &#39;Show &#39;&#39;Do&#39;&#39; menu in world main docking bar&#39;<br>
&gt; +               category: &#39;docking bars&#39;<br>
&gt; +               description: &#39;Whether world&#39;&#39;s main docking bar should show the &#39;&#39;Do&#39;&#39; menu.&#39;<br>
&gt; +               type: #Boolean&gt;<br>
&gt; +       ^ self getMenuPreference: #showDoMenuInWorldMainDockingBar ifAbsent: [true]<br>
&gt; + !<br>
&gt;<br>
&gt; Item was added:<br>
&gt; + ----- Method: TheWorldMainDockingBar class&gt;&gt;showDoMenuInWorldMainDockingBar: (in category &#39;preferences&#39;) -----<br>
&gt; + showDoMenuInWorldMainDockingBar: aBoolean<br>
&gt; +<br>
&gt; +       self<br>
&gt; +               setMenuPreference: #showDoMenuInWorldMainDockingBar<br>
&gt; +               to: aBoolean.<br>
&gt; + !<br>
&gt;<br>
&gt; Item was added:<br>
&gt; + ----- Method: TheWorldMainDockingBar&gt;&gt;doMenuOn: (in category &#39;construction&#39;) -----<br>
&gt; + doMenuOn: aDockingBar<br>
&gt; +<br>
&gt; +       aDockingBar addItem: [ :item |<br>
&gt; +               item<br>
&gt; +                       contents: &#39;Do&#39; translated;<br>
&gt; +                       subMenuUpdater: self<br>
&gt; +                       selector: #listCommonRequestsOn: ]!<br>
&gt;<br>
&gt; Item was added:<br>
&gt; + ----- Method: TheWorldMainDockingBar&gt;&gt;listCommonRequestsOn: (in category &#39;submenu - do&#39;) -----<br>
&gt; + listCommonRequestsOn: aMenu<br>
&gt; +<br>
&gt; +       | strings |<br>
&gt; +       strings := Utilities commonRequestStrings contents.<br>
&gt; +<br>
&gt; +       strings asString linesDo: [:aString |<br>
&gt; +               aString = &#39;-&#39;<br>
&gt; +                       ifTrue: [aMenu addLine]<br>
&gt; +                       ifFalse: [aMenu add: (aString ifEmpty: [&#39; &#39;]) target: Utilities selector: #eval: argument: aString]].<br>
&gt; +<br>
&gt; +       aMenu addLine.<br>
&gt; +       aMenu add: &#39;edit this list&#39; translated target: Utilities action: #editCommonRequestStrings.!<br>
&gt;<br>
&gt; Item was changed:<br>
&gt;   ----- Method: TheWorldMainDockingBar&gt;&gt;menusOn: (in category &#39;construction&#39;) -----<br>
&gt;   menusOn: aDockingBar<br>
&gt;<br>
&gt;         self class showMainMenuInWorldMainDockingBar ifTrue: [<br>
&gt;                 self squeakMenuOn: aDockingBar].<br>
&gt;<br>
&gt;         self class showProjectsMenuInWorldMainDockingBar ifTrue: [<br>
&gt;                 self projectsMenuOn: aDockingBar].<br>
&gt;<br>
&gt;         self class showToolsMenuInWorldMainDockingBar ifTrue: [<br>
&gt;                 self toolsMenuOn: aDockingBar].<br>
&gt;<br>
&gt;         self class showAppsMenuInWorldMainDockingBar ifTrue: [<br>
&gt;                 self appsMenuOn: aDockingBar].<br>
&gt;<br>
&gt; +       self class showDoMenuInWorldMainDockingBar ifTrue: [<br>
&gt; +               self doMenuOn: aDockingBar].<br>
&gt; +<br>
&gt;         self class showExtrasMenuInWorldMainDockingBar ifTrue: [<br>
&gt;                 self extrasMenuOn: aDockingBar].<br>
&gt;<br>
&gt;         self class showWindowsMenuInWorldMainDockingBar ifTrue: [<br>
&gt;                 self windowsMenuOn: aDockingBar].<br>
&gt;<br>
&gt;         self class showHelpMenuInWorldMainDockingBar ifTrue: [<br>
&gt;                 self helpMenuOn: aDockingBar].!<br>
&gt;<br>
&gt; Item was changed:<br>
&gt;   (PackageInfo named: &#39;Morphic&#39;) postscript: &#39;&quot;Fixes the event handling that occurs in the same control flow after loading this code.&quot;<br>
&gt;   HandMorph allInstancesDo: [:ea | ea initForEvents].<br>
&gt;<br>
&gt;   &quot;Deploy mouse-wheel event handling to existing scrollpanes and hands.&quot;<br>
&gt;   Project allMorphicProjects do: [:morphicProject |<br>
&gt;         morphicProject world handsDo: [:hand |<br>
&gt;                 hand addKeyboardCaptureFilter: hand]].<br>
&gt;   ScrollPane allSubInstancesDo: [:ea |<br>
&gt; +       ea addKeyboardCaptureFilter: ea].<br>
&gt; +<br>
&gt; + &quot;Add Do-menu.&quot;<br>
&gt; + TheWorldMainDockingBar updateInstances.&#39;!<br>
&gt; -       ea addKeyboardCaptureFilter: ea].&#39;!<br>
&gt;<br>
&gt;<br>
<br>
</div></div></blockquote></div><br></div>