The Trunk: Morphic-laza.429.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Morphic-laza.429.mcz

commits-2
Alexander Lazarević uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-laza.429.mcz

==================== Summary ====================

Name: Morphic-laza.429
Author: laza
Time: 26 April 2010, 11:04:18.171 am
UUID: 83abfdbb-87fd-884d-aafc-f1e78b4eaecb
Ancestors: Morphic-laza.428

Avoid also all gray icons for the windows menu in the dockbar with uniform window colors

=============== Diff against Morphic-laza.428 ===============

Item was changed:
  ----- Method: TheWorldMainDockingBar>>listWindowsOn: (in category 'submenu - windows') -----
  listWindowsOn: menu
 
  | windows |
  windows := SortedCollection sortBlock: [:winA :winB |
  winA model name = winB model name
  ifTrue: [winA label < winB label]
  ifFalse: [winA model name < winB model name]].
  windows addAll: self allVisibleWindows.
  windows ifEmpty: [
  menu addItem: [ :item |
  item
  contents: 'No Windows' translated;
  isEnabled: false ] ].
  windows do: [ :each |
  menu addItem: [ :item |
  item
  contents: (self windowMenuItemLabelFor: each);
+ icon: (self colorIcon: each model defaultBackgroundColor);
- icon: (self colorIcon: each paneColor);
  target: each;
  selector: #comeToFront;
  subMenuUpdater: self
  selector: #windowMenuFor:on:
  arguments: { each };
  action: [ each activateAndForceLabelToShow; expand ] ] ].!