← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-dev/yade/trunk] Rev 2384: Path hotfix.

 

------------------------------------------------------------
revno: 2384
committer: Václav Šmilauer <eudoxos@xxxxxxxx>
branch nick: trunk
timestamp: Sat 2010-07-24 20:16:48 +0200
message:
  Path hotfix.
modified:
  gui/qt4/SerializableEditor.py
  gui/qt4/__init__.py


--
lp:yade
https://code.launchpad.net/~yade-dev/yade/trunk

Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-dev/yade/trunk/+edit-subscription
=== modified file 'gui/qt4/SerializableEditor.py'
--- gui/qt4/SerializableEditor.py	2010-07-24 18:10:24 +0000
+++ gui/qt4/SerializableEditor.py	2010-07-24 18:16:48 +0000
@@ -216,8 +216,8 @@
 		self.refreshTimer.stop()
 
 
-import sys; sys.path.append('.')
-from ui_SeqSerializable import Ui_SeqSerializable
+#import sys; sys.path.append('.')
+from yade.qt.ui_SeqSerializable import Ui_SeqSerializable
 
 class SeqSerializable(QFrame,Ui_SeqSerializable):
 	def __init__(self,parent,getter,setter,serType):

=== modified file 'gui/qt4/__init__.py'
--- gui/qt4/__init__.py	2010-07-24 18:10:24 +0000
+++ gui/qt4/__init__.py	2010-07-24 18:16:48 +0000
@@ -2,8 +2,8 @@
 from PyQt4.QtGui import *
 from PyQt4 import QtCore
 
-from ui_controller import Ui_Controller
-from SerializableEditor import SerializableEditor,SeqSerializable
+from yade.qt.ui_controller import Ui_Controller
+from yade.qt.SerializableEditor import SerializableEditor,SeqSerializable
 from yade import *
 import yade.system