[Pkg] The Trunk: Morphic-topa.749.mcz
commits at source.squeak.org
commits at source.squeak.org
Fri Oct 17 17:48:31 UTC 2014
Tobias Pape uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-topa.749.mcz
==================== Summary ====================
Name: Morphic-topa.749
Author: topa
Time: 17 October 2014, 7:47:18.876 pm
UUID: 5ffca218-b49c-4921-a67e-362aeb1ac71c
Ancestors: Morphic-eem.748
Make MenueItemMorph respect the
#menueWithIcons preference.
=============== Diff against Morphic-eem.748 ===============
Item was changed:
----- Method: MenuItemMorph>>hasIcon (in category 'accessing') -----
hasIcon
+ "Answer whether the receiver has an icon. If menues without icons are
+ requested, pretend to not bear one unless we have not content."
+ ^ self icon notNil and: [
+ Preferences menuWithIcons or: [self contents isEmptyOrNil]].!
- "Answer whether the receiver has an icon."
- ^ icon notNil!
More information about the Packages
mailing list