Changeset 1406ce26c744…
Parent 2a4f89ec0791…
by
Changes to one file · Browse files at 1406ce26c744 Showing diff from parent 2a4f89ec0791 Diff from another changeset...
@@ -21,7 +21,6 @@ import os
import os.path as osp
import sys
-import mx.DateTime as dt
def should_rebuild(srcfile, pyfile):
return not osp.isfile(pyfile) or osp.isfile(srcfile) and \
@@ -50,17 +49,11 @@
_icons = {}
def _load_icons():
- t = dt.today()
- x = t.month == 12 and t.day in (24,25)
d = QtCore.QDir(':/icons')
for icn in d.entryList():
name, ext = osp.splitext(str(icn))
if name not in _icons or ext == ".svg":
_icons[name] = QtGui.QIcon(':/icons/%s' % icn)
- if x:
- for name in _icons:
- if name.endswith('_x'):
- _icons[name[:-2]] = _icons[name]
def icon(name):
"""
|
Loading...