Refactor directory structure a bit in preparation to the new simulator.
This commit is contained in:
parent
8c3ac8960f
commit
4a15327297
@ -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()
|
@ -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
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Loading…
Reference in New Issue
Block a user