diff clients/pychan_demo/styling.py @ 125:97d6946bd917

- prepared files for new dir structure
author chewie@33b003aa-7bff-0310-803a-e67f0ece8222
date Wed, 06 Aug 2008 22:24:57 +0000
parents 4a0efb7baf70
children f98443afed5b
line wrap: on
line diff
--- a/clients/pychan_demo/styling.py	Wed Aug 06 01:03:00 2008 +0000
+++ b/clients/pychan_demo/styling.py	Wed Aug 06 22:24:57 2008 +0000
@@ -85,13 +85,13 @@
 
 class StylingExample(PyChanExample):
 	def __init__(self):
-		super(StylingExample,self).__init__('content/gui/styling.xml')
+		super(StylingExample,self).__init__('gui/styling.xml')
 
 		self.styles = ['default'] + STYLES.keys()
 		for name,style in STYLES.items():
 			pychan.manager.addStyle(name,style)
 
-		pychan.loadFonts("content/fonts/samanata.fontdef")
+		pychan.loadFonts("fonts/samanata.fontdef")
 
 	def start(self):
 		self.styledCredits = None
@@ -114,7 +114,7 @@
 		style = self.styles[self.widget.collectData('styleList')]
 		if self.styledCredits:
 			self.styledCredits.hide()
-		self.styledCredits = pychan.loadXML('content/gui/all_widgets.xml')
+		self.styledCredits = pychan.loadXML('gui/all_widgets.xml')
 		self.styledCredits.distributeInitialData({
 			'demoList' : dir(pychan),
 			'demoText' : pychan.__doc__