Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2006-09-08 12:21:56 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2006-09-08 12:21:56 (GMT)
commitb8018bb889fc6921a6af8d6512f34cff387431a7 (patch)
treeab396b648017d04d1fb417ad98005a1784e20330 /examples
parent8d27527fd90eb686ec3b65d49d6f2e685106e16f (diff)
Add a test for icons
Diffstat (limited to 'examples')
-rw-r--r--examples/README2
-rw-r--r--examples/bots/LICENSE7
-rw-r--r--examples/bots/bots.activity2
-rw-r--r--examples/bots/bots.py18
-rw-r--r--examples/bots/chaitanya.jpgbin1653 -> 0 bytes
-rw-r--r--examples/bots/kiu.jpgbin1364 -> 0 bytes
-rw-r--r--examples/bots/penelope.jpgbin1577 -> 0 bytes
-rw-r--r--examples/gmail/gmail.activity4
-rwxr-xr-xexamples/gmail/gmail.py22
9 files changed, 0 insertions, 55 deletions
diff --git a/examples/README b/examples/README
deleted file mode 100644
index 1368f17..0000000
--- a/examples/README
+++ /dev/null
@@ -1,2 +0,0 @@
-To install just drop the whole directory inside ~/.sugar/activities.
-Then run sugar as usual.
diff --git a/examples/bots/LICENSE b/examples/bots/LICENSE
deleted file mode 100644
index e80f60b..0000000
--- a/examples/bots/LICENSE
+++ /dev/null
@@ -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/
diff --git a/examples/bots/bots.activity b/examples/bots/bots.activity
deleted file mode 100644
index fe18e11..0000000
--- a/examples/bots/bots.activity
+++ /dev/null
@@ -1,2 +0,0 @@
-[Activity]
-python_class = bots
diff --git a/examples/bots/bots.py b/examples/bots/bots.py
deleted file mode 100644
index 68bc4e1..0000000
--- a/examples/bots/bots.py
+++ /dev/null
@@ -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()
diff --git a/examples/bots/chaitanya.jpg b/examples/bots/chaitanya.jpg
deleted file mode 100644
index aecaf81..0000000
--- a/examples/bots/chaitanya.jpg
+++ /dev/null
Binary files differ
diff --git a/examples/bots/kiu.jpg b/examples/bots/kiu.jpg
deleted file mode 100644
index 1beca11..0000000
--- a/examples/bots/kiu.jpg
+++ /dev/null
Binary files differ
diff --git a/examples/bots/penelope.jpg b/examples/bots/penelope.jpg
deleted file mode 100644
index 0d81097..0000000
--- a/examples/bots/penelope.jpg
+++ /dev/null
Binary files differ
diff --git a/examples/gmail/gmail.activity b/examples/gmail/gmail.activity
deleted file mode 100644
index 50d92c9..0000000
--- a/examples/gmail/gmail.activity
+++ /dev/null
@@ -1,4 +0,0 @@
-[Activity]
-name = GMail
-id = org.sugar.GMail
-python_module = gmail.GMailActivity
diff --git a/examples/gmail/gmail.py b/examples/gmail/gmail.py
deleted file mode 100755
index 37c8fec..0000000
--- a/examples/gmail/gmail.py
+++ /dev/null
@@ -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")