From: Joseph Spiros Date: Thu, 10 Nov 2005 02:00:27 +0000 (+0000) Subject: I've added a one second cache to the NSMenu proxy because otherwise the menu provider... X-Git-Tag: MenuPrefs-1.5.2~2 X-Git-Url: http://git.ithinksw.org/ITKit.git/commitdiff_plain/810a7d925af4a7aea741e8319d9dddce5947710a?hp=810a7d925af4a7aea741e8319d9dddce5947710a I've added a one second cache to the NSMenu proxy because otherwise the menu provider may be creating new instances on every method call, and when a menu is displayed, something like 24 methods are called, so that's 24 (potentially different) instances. I also had the ITStatusItem directly set the cell's menu, rather than setting itself's menu, this way, everything will work fine if you change your mind and decide to use setMenu: instead of setMenuProvider:. ---