Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorgan Collett <morgan.collett@gmail.com>2008-03-10 14:25:52 (GMT)
committer Morgan Collett <morgan.collett@gmail.com>2008-03-26 10:34:46 (GMT)
commita66eaeb4b323e92500051b4b48c2640b2871a50b (patch)
tree5547bf457971dae90468527b0e2a1de90cf3c5de
parent076359605a4a9b8b7bd7993cabc26b20be43488f (diff)
Update pippy metadata based on Pippy
-rw-r--r--pippy_app.py28
1 files changed, 22 insertions, 6 deletions
diff --git a/pippy_app.py b/pippy_app.py
index bda9795..49885c4 100644
--- a/pippy_app.py
+++ b/pippy_app.py
@@ -494,6 +494,8 @@ CHAT_ICON=\
"""
CHAT_NEWS="""
+35
+
* #6066: Make web links copied to clipboard, pasteable in Write, Browse,
Terminal (morgs)
* Added AUTHORS, COPYING (morgs)
@@ -619,14 +621,28 @@ CHAT_NEWS="""
"""
-def pippy_activity_version(): return 32
-def pippy_activity_news(): return CHAT_NEWS
-def pippy_activity_icon(): return CHAT_ICON
-def pippy_activity_class(): return 'pippy_app.Chat'
+def pippy_activity_version():
+ """Returns the version number of the generated activity bundle."""
+ return 35
+
+def pippy_activity_news():
+ """Return the NEWS file for this activity."""
+ return CHAT_NEWS
+
+def pippy_activity_icon():
+ """Return an SVG document specifying the icon for this activity."""
+ return CHAT_ICON
+
+def pippy_activity_class():
+ """Return the class which should be started to run this activity."""
+ return 'pippy_app.Chat'
+
def pippy_activity_extra_info():
- return "host_version = 1" # what does this do?
+ return "host_version = 1"
if False: # only the official Chat should have this bundle_id.
- def pippy_activity_bundle_id(): return 'org.laptop.Chat'
+ def pippy_activity_bundle_id():
+ """Return the bundle_id for the generated activity."""
+ return 'org.laptop.Chat'
if __name__ == '__main__':
print "Use 'Keep As Activity' to create a new version of Chat."