[squeak-dev] The Trunk: Morphic-ar.459.mcz
commits at source.squeak.org
commits at source.squeak.org
Sat Aug 7 06:53:04 UTC 2010
Andreas Raab uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-ar.459.mcz
==================== Summary ====================
Name: Morphic-ar.459
Author: ar
Time: 6 August 2010, 11:50:36.075 pm
UUID: 1eebbccf-ebff-1c41-8a15-d022e86eb716
Ancestors: Morphic-ar.458
Experimental. Fold the former 'open...' world menu directly into the menu bar as 'Apps' menu. This way, any registered apps are directly accessible via the menu bar. The menu bar needs a bit of cleanup (there are some dupes right now) but it's an experiment to see if people like the idea. You need to go to Extras>>Rebuild Menus to see the effect.
=============== Diff against Morphic-ar.458 ===============
Item was added:
+ ----- Method: TheWorldMainDockingBar>>listAppsOn: (in category 'submenu - apps') -----
+ listAppsOn: menu
+ "Update the apps list in the menu"
+
+ | args |
+ TheWorldMenu registeredOpenCommands do:[:spec|
+ args := spec second.
+ menu addItem: [ :item |
+ item
+ contents: spec first translated;
+ target: args first;
+ selector: args second].
+ ].
+ !
Item was added:
+ ----- Method: TheWorldMainDockingBar>>appsMenuOn: (in category 'submenu - apps') -----
+ appsMenuOn: aDockingBar
+ "Create a menu with the registered apps"
+
+ aDockingBar addItem: [ :item |
+ item
+ contents: 'Apps' translated;
+ subMenuUpdater: self
+ selector: #listAppsOn: ]
+ !
Item was changed:
----- Method: TheWorldMainDockingBar>>menusOn: (in category 'construction') -----
menusOn: aDockingBar
self
squeakMenuOn: aDockingBar;
projectsMenuOn: aDockingBar;
toolsMenuOn: aDockingBar;
+ appsMenuOn: aDockingBar;
extrasMenuOn: aDockingBar;
windowsMenuOn: aDockingBar;
helpMenuOn: aDockingBar.
aDockingBar addSpacer.
self
searchBarOn: aDockingBar;
clockOn: aDockingBar!
More information about the Squeak-dev
mailing list
|