[POS-commit] r84 - stoqlib/stoqlib/interface
Evandro Vale Miquelito
evandro at async.com.br
Tue Mar 8 19:57:11 BRT 2005
Author: evandro
Date: 2005-03-08 19:57:11 -0300 (Tue, 08 Mar 2005)
New Revision: 84
Modified:
stoqlib/stoqlib/interface/__init__.py
Log:
A small fix for gladepath adjustments
Modified: stoqlib/stoqlib/interface/__init__.py
===================================================================
--- stoqlib/stoqlib/interface/__init__.py 2005-03-08 22:41:57 UTC (rev 83)
+++ stoqlib/stoqlib/interface/__init__.py 2005-03-08 22:57:11 UTC (rev 84)
@@ -1,10 +1,10 @@
import os
-from Kiwi2 import Views
+from Kiwi2 import gladepath, set_gladepath
import stoqlib
path = [os.path.join(stoqlib.__path__[0], "interface", "glade")]
# If it doesn't already exists in the gladepath, add it
-if path not in Views.gladepath:
- Views.set_gladepath(Views.gladepath + path)
+if path not in gladepath:
+ set_gladepath(gladepath + path)
More information about the POS-commit
mailing list