[FIX] MoreEfficientMenuDecoration-nk

Ned Konz ned at squeakland.org
Sat May 1 23:58:48 UTC 2004


"Change Set:		MoreEfficientMenuDecoration-nk
Date:			1 May 2004
Author:			Ned Konz

The menus were being decorated by recursing down through every submenu
for every possible icon.

This change set makes the menu decoration much more efficient by only
decorating menus that are actually being shown, and by using a
dictionary of translated strings to find the icons.

It also eliminates a double call of the translation of the active
scripting elements in setNaturalLanguageTo:.

"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MoreEfficientMenuDecoration-nk.cs.gz
Type: application/octet-stream
Size: 1575 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20040501/2f4b246b/MoreEfficientMenuDecoration-nk.cs.obj


More information about the Squeak-dev mailing list