Add a test for icons

This commit is contained in:
Marco Pesenti Gritti
2006-09-08 14:21:56 +02:00
parent 8d27527fd9
commit b8018bb889
9 changed files with 0 additions and 28 deletions
-2
View File
@@ -1,2 +0,0 @@
To install just drop the whole directory inside ~/.sugar/activities.
Then run sugar as usual.
-7
View File
@@ -1,7 +0,0 @@
This work is licensed under the Creative Commons Attribution 2.5 License. To view a copy of this license, visit http://creativecommons.org/licenses/by/2.5/ or send a letter to Creative Commons, 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA.
Attributions:
chaitanya.jpg http://www.flickr.com/photos/meanestindian/166408558/
penelope.jpg http://www.flickr.com/photos/gagah/9257515/
kiu.jpg http://flickr.com/photos/31072589@N00/139234295/
-2
View File
@@ -1,2 +0,0 @@
[Activity]
python_class = bots
-18
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()
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

-4
View File
@@ -1,4 +0,0 @@
[Activity]
name = GMail
id = org.sugar.GMail
python_module = gmail.GMailActivity
-22
View File
@@ -1,22 +0,0 @@
import os
import geckoembed
from sugar.activity.Activity import Activity
import sugar.env
_GMAIL_ACTIVITY_TYPE = "_gmail_google._tcp"
class GMailActivity(Activity):
def __init__(self, args):
Activity.__init__(self, _GMAIL_ACTIVITY_TYPE)
profile_path = os.path.join(sugar.env.get_user_dir(), 'gmail')
geckoembed.set_profile_path(profile_path)
self.set_title("Mail")
embed = geckoembed.Embed()
self.add(embed)
embed.show()
embed.load_address("http://www.gmail.com")