Refactor directory structure a bit in preparation to the new simulator.

This commit is contained in:
Marco Pesenti Gritti 2006-10-09 13:20:39 +02:00
parent 8c3ac8960f
commit 4a15327297
6 changed files with 1 additions and 19 deletions

View File

@ -1,18 +0,0 @@
import os
import gtk
from sugar.bots import Bot
basedir = os.path.dirname(__file__)
bot = Bot("Chaitanya", os.path.join(basedir, "chaitanya.jpg"))
bot.start()
bot = Bot("Kiu", os.path.join(basedir, "kiu.jpg"))
bot.start()
bot = Bot("Penelope", os.path.join(basedir, "penelope.jpg"))
bot.start()
gtk.main()

View File

@ -24,7 +24,7 @@ class KiuBot(Bot):
self.add_action(action, 20)
curdir = os.path.abspath(os.path.dirname(__file__))
self._icon_file = os.path.join(curdir, 'kiu.jpg')
self._icon_file = os.path.join(curdir, '../data/kiu.jpg')
def __activity_switch_cb(self):
self._activity_switch_timeout = None

View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB