ports/misc/diary-hercules/files/patch-Hercules-gui_exercisewizard.py
Greg Larkin 3d48f0ec20 - Updated to 0.1.1 [1]
- Cleaned up the pkg-descr

PR:		ports/161138 [1]
Submitted by:	Ruslan Mahmatkhanov <cvs-src@yandex.ru>
2011-09-30 17:36:53 +00:00

20 lines
718 B
Python

--- Hercules/gui/exercisewizard.py.orig 2006-08-27 08:55:00.000000000 +0400
+++ Hercules/gui/exercisewizard.py 2011-09-29 13:00:00.000000000 +0400
@@ -6,7 +6,7 @@
import wx.xrc as xrc
import wx.wizard as wiz
from Hercules.plugins.net_exrx import *
-
+from Hercules.globals import sharedir
class WizardPageStart:
def __init__(self, parent, page):
@@ -187,7 +187,7 @@
self.exerciseInfo = []
# Load resource file with wizard pages
- self.resource = xrc.XmlResource('xrc/exercisewizard.xrc')
+ self.resource = xrc.XmlResource(sharedir + 'xrc/exercisewizard.xrc')
# Create the wizard and the pages
self.wizard = self.resource.LoadObject(self.parent,