From a66eaeb4b323e92500051b4b48c2640b2871a50b Mon Sep 17 00:00:00 2001 From: Morgan Collett Date: Mon, 10 Mar 2008 14:25:52 +0000 Subject: Update pippy metadata based on Pippy --- 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." -- cgit v0.9.1