Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Francis <francis@sugarlabs.org>2012-10-05 00:40:50 (GMT)
committer Daniel Francis <francis@sugarlabs.org>2012-10-05 00:40:50 (GMT)
commitddf9c2fb79dcd30f6d555e80f8da894e1eb6d2c4 (patch)
tree26e549f06872db0eefce75345fbcacd58c3175bc
parent216aa15f37b695b37039f6e2b591e1e32acda9ad (diff)
Add useful comments
-rw-r--r--info.py27
1 files changed, 26 insertions, 1 deletions
diff --git a/info.py b/info.py
index c7ab957..d89e560 100644
--- a/info.py
+++ b/info.py
@@ -23,6 +23,7 @@ logger = logging.getLogger('info')
from gettext import gettext as _
+# Activity Service Name
service_name = 'org.sugarlabs.HelloIntegration'
import os
@@ -42,25 +43,49 @@ _ = gettext.gettext
DOCUMENT = 0
CONFIG = 1
+
+# IO Mode
+# Can be config for save and load a Config file or
+# Document for ask where save the data.
io_mode = CONFIG
+# Generic Name. "Text Editor" "Web Browser"
generic_name = _('Example')
+
+# Activity Name
name = _('Hello Integration')
+
+# lower-name
lower_name = 'hello-integration'
+
+# Write here a copyright note.
copyright = 'Copyright © 2012 Daniel Francis'
+
+# Version. Allow to use point from Sugar (>=0.92)
version = '1'
+
+# Summary
description = _("Sweetener application example")
+
+# List the authors and their emails.
authors = ['Daniel Francis <francis@sugarlabs.org>']
+
+# If any, Web site and documentation URL.
url = None
documentation = None
+
+# Place to write the menu category where the activity on Linux desktops should appear.
categories = ['Application', 'Utility']
+# Filter name is like "Pictures", "Text"; mime must be "text/*", "application/x-sweetener"; patterns are "*.png"
file_filter_name = None
file_filter_mime = None
file_filter_patterns = []
-# Refer to the COPYING
+# Type here the license name
license = 'GPLv3'
+
+# Refer to the COPYING
try:
license_file = open(os.path.join(os.environ['DATADIR'].replace(
'programabspath', this_dir), 'COPYING'))