qtutils: memoize() icon creation and gettext translations
commit6c47625e0879cc26e66b64b87178e99529cb9b7c
authorDavid Aguilar <davvid@gmail.com>
Tue, 8 Jun 2010 21:07:20 +0000 (8 14:07 -0700)
committerDavid Aguilar <davvid@gmail.com>
Tue, 8 Jun 2010 21:07:20 +0000 (8 14:07 -0700)
tree79fc8c53d5a093f3f8fd56f54a50c9bb31452b17
parent2ea82700aad4a546f1bdfa3b58241ffe3d3c5399
qtutils: memoize() icon creation and gettext translations

Eliminate more local caches in favor of the memoize() solution.
This makes the code easier to read and simpler in implementation.

Signed-off-by: David Aguilar <davvid@gmail.com>
cola/qtutils.py