Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/activity
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2007-04-11 12:06:27 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2007-04-11 12:06:27 (GMT)
commit73f2577397dce7bcccc19c66dc8b3a0d227a62af (patch)
tree291e2244cf5a37184409c80c7cc13c9700840e26 /sugar/activity
parentdefd9f76e3fd3fab2fbedadd0d948ea26fb7704c (diff)
First go at the new type registry.
Diffstat (limited to 'sugar/activity')
-rw-r--r--sugar/activity/bundle.py18
-rw-r--r--sugar/activity/bundleregistry.py18
2 files changed, 35 insertions, 1 deletions
diff --git a/sugar/activity/bundle.py b/sugar/activity/bundle.py
index 2ea5a54..b8172e0 100644
--- a/sugar/activity/bundle.py
+++ b/sugar/activity/bundle.py
@@ -1,4 +1,22 @@
+# Copyright (C) 2007, Red Hat, Inc.
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the
+# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
"""Metadata description of a given application/activity"""
+
import logging
import locale
import os
diff --git a/sugar/activity/bundleregistry.py b/sugar/activity/bundleregistry.py
index 58b1700..8469688 100644
--- a/sugar/activity/bundleregistry.py
+++ b/sugar/activity/bundleregistry.py
@@ -1,5 +1,21 @@
+# Copyright (C) 2007, Red Hat, Inc.
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the
+# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
import os
-from ConfigParser import ConfigParser
import gobject