[Thuban-commits] r2880 - in trunk/thuban: . Thuban/UI
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Mon Jun 29 16:06:25 CEST 2009
Author: dpinte
Date: 2009-06-29 16:06:24 +0200 (Mon, 29 Jun 2009)
New Revision: 2880
Modified:
trunk/thuban/ChangeLog
trunk/thuban/Thuban/UI/resource.py
Log:
2009-06-29 Didrik Pinte <dpinte at dipole-consulting.com>
* Thuban/UI/resource.py : freezing support improved
Modified: trunk/thuban/ChangeLog
===================================================================
--- trunk/thuban/ChangeLog 2009-06-26 23:16:11 UTC (rev 2879)
+++ trunk/thuban/ChangeLog 2009-06-29 14:06:24 UTC (rev 2880)
@@ -1,3 +1,7 @@
+2009-06-29 Didrik Pinte <dpinte at dipole-consulting.com>
+
+ * Thuban/UI/resource.py : freezing support improved
+
2009-06-27 Didrik Pinte <dpinte at dipole-consulting.com>
* Thuban/UI/view.py : added mouse wheel zoom support
Modified: trunk/thuban/Thuban/UI/resource.py
===================================================================
--- trunk/thuban/Thuban/UI/resource.py 2009-06-26 23:16:11 UTC (rev 2879)
+++ trunk/thuban/Thuban/UI/resource.py 2009-06-29 14:06:24 UTC (rev 2880)
@@ -14,11 +14,12 @@
import os
import Thuban
+from Thuban.Lib.fileutil import get_thuban_dir
import wx
-bitmapdir = os.path.join(Thuban.__path__[0], os.pardir, "Resources", "Bitmaps")
+bitmapdir = os.path.join(get_thuban_dir(), "Resources", "Bitmaps")
bitmap_extensions = {wx.BITMAP_TYPE_XPM: ".xpm",
wx.BITMAP_TYPE_ANY: ""}
More information about the Thuban-commits
mailing list