Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Neves <cn@sueste.net>2008-01-13 02:18:51 (GMT)
committer Carlos Neves <cn@sueste.net>2008-01-13 02:18:51 (GMT)
commit1d4bc9c21c94e16f42b81410502fa2cfc9376633 (patch)
treea46c6bd968189f9e699f4053190b40251635f31f
parentdc3139ad48b840f81f25875c20d2d44533e4e340 (diff)
Added licence header to all sources. Added AUTHORS file.
-rw-r--r--AUTHORS1
-rw-r--r--JigsawPuzzleActivity.py20
-rw-r--r--JigsawPuzzleUI.py15
-rw-r--r--JigsawPuzzleWidget.py20
-rw-r--r--README.first8
-rw-r--r--mamamedia_icons/circle.svg9
-rw-r--r--mamamedia_modules.py20
-rw-r--r--mmm_modules/borderframe.py15
-rw-r--r--mmm_modules/buddy_panel.py15
-rw-r--r--mmm_modules/i18n.py13
-rw-r--r--mmm_modules/image_category.py20
-rw-r--r--mmm_modules/notebook_reader.py15
-rw-r--r--mmm_modules/timer.py15
-rw-r--r--mmm_modules/tube_helper.py15
-rw-r--r--mmm_modules/utils.py15
15 files changed, 121 insertions, 95 deletions
diff --git a/AUTHORS b/AUTHORS
new file mode 100644
index 0000000..06b1f24
--- /dev/null
+++ b/AUTHORS
@@ -0,0 +1 @@
+Carlos Neves <cn@sueste.net>
diff --git a/JigsawPuzzleActivity.py b/JigsawPuzzleActivity.py
index d71b1cf..e3f171f 100644
--- a/JigsawPuzzleActivity.py
+++ b/JigsawPuzzleActivity.py
@@ -1,3 +1,23 @@
+# Copyright 2007 World Wide Workshop Foundation
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+#
+# If you find this activity useful or end up using parts of it in one of your
+# own creations we would love to hear from you at info@WorldWideWorkshop.org !
+#
+
from sugar.activity.activity import Activity, ActivityToolbox, get_bundle_path
from gettext import gettext as _
import logging, os, sys
diff --git a/JigsawPuzzleUI.py b/JigsawPuzzleUI.py
index f78cf59..655d019 100644
--- a/JigsawPuzzleUI.py
+++ b/JigsawPuzzleUI.py
@@ -1,5 +1,5 @@
-#!/usr/bin/env python
-
+# Copyright 2007 World Wide Workshop Foundation
+#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
@@ -14,14 +14,9 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
-
-
-### JigsawPuzzeUI
-### TODO: Describe
-### $Id: $
-###
-### author: Carlos Neves (cn (at) sueste.net)
-### (c) 2007 World Wide Workshop Foundation
+# If you find this activity useful or end up using parts of it in one of your
+# own creations we would love to hear from you at info@WorldWideWorkshop.org !
+#
import pygtk
pygtk.require('2.0')
diff --git a/JigsawPuzzleWidget.py b/JigsawPuzzleWidget.py
index b935a1b..46a9f1a 100644
--- a/JigsawPuzzleWidget.py
+++ b/JigsawPuzzleWidget.py
@@ -1,3 +1,23 @@
+# Copyright 2007 World Wide Workshop Foundation
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+#
+# If you find this activity useful or end up using parts of it in one of your
+# own creations we would love to hear from you at info@WorldWideWorkshop.org !
+#
+
import pygtk
pygtk.require('2.0')
import gtk, gobject, pango, cairo
diff --git a/README.first b/README.first
deleted file mode 100644
index 53de08b..0000000
--- a/README.first
+++ /dev/null
@@ -1,8 +0,0 @@
-From version 3 a set of symbolic links from MaMaMediaMenu.activity are needed, because of issues with security when using shared code based on anyther activity bundle.
-
-The code is still living inside the MaMaMediaMenu source tree, but gets included in this bundle from MANIFEST inclusion.
-
-ln -s ../MaMaMedia.activity/mmm_modules .
-ln -s ../MaMaMedia.activity/icons mamamedia_icons
-
-substitute ../MaMaMedia.activity with wherever you have MaMaMedia bundle installed. \ No newline at end of file
diff --git a/mamamedia_icons/circle.svg b/mamamedia_icons/circle.svg
deleted file mode 100644
index 752fed1..0000000
--- a/mamamedia_icons/circle.svg
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
- "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg
- xmlns="http://www.w3.org/2000/svg" version="1.1">
- <desc>Circle</desc>
- <circle cx="150" cy="150" r="50"
- fill="none" stroke="yellow" stroke-width="10" />
-</svg> \ No newline at end of file
diff --git a/mamamedia_modules.py b/mamamedia_modules.py
index abcc9cf..3b9fdc3 100644
--- a/mamamedia_modules.py
+++ b/mamamedia_modules.py
@@ -1,3 +1,23 @@
+# Copyright 2007 World Wide Workshop Foundation
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+#
+# If you find this activity useful or end up using parts of it in one of your
+# own creations we would love to hear from you at info@WorldWideWorkshop.org !
+#
+
import os
import sys
diff --git a/mmm_modules/borderframe.py b/mmm_modules/borderframe.py
index 1c02a22..14d55d1 100644
--- a/mmm_modules/borderframe.py
+++ b/mmm_modules/borderframe.py
@@ -1,5 +1,5 @@
-#!/usr/bin/env python
-
+# Copyright 2007 World Wide Workshop Foundation
+#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
@@ -14,14 +14,9 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
-
-
-### borderframe.py
-### TODO: Describe
-### $Id: $
-###
-### author: Carlos Neves (cn (at) sueste.net)
-### (c) 2007 World Wide Workshop Foundation
+# If you find this activity useful or end up using parts of it in one of your
+# own creations we would love to hear from you at info@WorldWideWorkshop.org !
+#
import pygtk
pygtk.require('2.0')
diff --git a/mmm_modules/buddy_panel.py b/mmm_modules/buddy_panel.py
index dfa8c99..b5f435b 100644
--- a/mmm_modules/buddy_panel.py
+++ b/mmm_modules/buddy_panel.py
@@ -1,5 +1,5 @@
-#!/usr/bin/env python
-
+# Copyright 2007 World Wide Workshop Foundation
+#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
@@ -14,14 +14,9 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
-
-
-### buddy_panel.py
-### TODO: Describe
-### $Id: $
-###
-### author: Carlos Neves (cn (at) sueste.net)
-### (c) 2007 World Wide Workshop Foundation
+# If you find this activity useful or end up using parts of it in one of your
+# own creations we would love to hear from you at info@WorldWideWorkshop.org !
+#
import pygtk
pygtk.require('2.0')
diff --git a/mmm_modules/i18n.py b/mmm_modules/i18n.py
index bcd7fdf..a2b02b8 100644
--- a/mmm_modules/i18n.py
+++ b/mmm_modules/i18n.py
@@ -1,6 +1,8 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
+# Copyright 2007 World Wide Workshop Foundation
+#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
@@ -15,14 +17,9 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
-
-
-### i18n.py
-### TODO: Describe
-### $Id: $
-###
-### author: Carlos Neves (cn (at) sueste.net)
-### (c) 2007 World Wide Workshop Foundation
+# If you find this activity useful or end up using parts of it in one of your
+# own creations we would love to hear from you at info@WorldWideWorkshop.org !
+#
import os
import gettext
diff --git a/mmm_modules/image_category.py b/mmm_modules/image_category.py
index 9181436..52705f1 100644
--- a/mmm_modules/image_category.py
+++ b/mmm_modules/image_category.py
@@ -1,3 +1,23 @@
+# Copyright 2007 World Wide Workshop Foundation
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+#
+# If you find this activity useful or end up using parts of it in one of your
+# own creations we would love to hear from you at info@WorldWideWorkshop.org !
+#
+
import pygtk
pygtk.require('2.0')
import gtk, gobject
diff --git a/mmm_modules/notebook_reader.py b/mmm_modules/notebook_reader.py
index af01bf7..9d70fd3 100644
--- a/mmm_modules/notebook_reader.py
+++ b/mmm_modules/notebook_reader.py
@@ -1,5 +1,5 @@
-#!/usr/bin/env python
-
+# Copyright 2007 World Wide Workshop Foundation
+#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
@@ -14,14 +14,9 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
-
-
-### notebook_reader.py
-### TODO: Describe
-### $Id: $
-###
-### author: Carlos Neves (cn (at) sueste.net)
-### (c) 2007 World Wide Workshop Foundation
+# If you find this activity useful or end up using parts of it in one of your
+# own creations we would love to hear from you at info@WorldWideWorkshop.org !
+#
import pygtk
pygtk.require('2.0')
diff --git a/mmm_modules/timer.py b/mmm_modules/timer.py
index e572bca..92390e0 100644
--- a/mmm_modules/timer.py
+++ b/mmm_modules/timer.py
@@ -1,5 +1,5 @@
-#!/usr/bin/env python
-
+# Copyright 2007 World Wide Workshop Foundation
+#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
@@ -14,14 +14,9 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
-
-
-### timer.py
-### TODO: Describe
-### $Id: $
-###
-### author: Carlos Neves (cn (at) sueste.net)
-### (c) 2007 World Wide Workshop Foundation
+# If you find this activity useful or end up using parts of it in one of your
+# own creations we would love to hear from you at info@WorldWideWorkshop.org !
+#
import pygtk
pygtk.require('2.0')
diff --git a/mmm_modules/tube_helper.py b/mmm_modules/tube_helper.py
index ec096d4..8436cfc 100644
--- a/mmm_modules/tube_helper.py
+++ b/mmm_modules/tube_helper.py
@@ -1,5 +1,5 @@
-#!/usr/bin/env python
-
+# Copyright 2007 World Wide Workshop Foundation
+#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
@@ -14,14 +14,9 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
-
-
-### buddy_panel.py
-### TODO: Describe
-### $Id: $
-###
-### author: Carlos Neves (cn (at) sueste.net)
-### (c) 2007 World Wide Workshop Foundation
+# If you find this activity useful or end up using parts of it in one of your
+# own creations we would love to hear from you at info@WorldWideWorkshop.org !
+#
import telepathy
#import telepathy.client
diff --git a/mmm_modules/utils.py b/mmm_modules/utils.py
index 4a36b2c..c5443cb 100644
--- a/mmm_modules/utils.py
+++ b/mmm_modules/utils.py
@@ -1,5 +1,5 @@
-#!/usr/bin/env python
-
+# Copyright 2007 World Wide Workshop Foundation
+#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
@@ -14,14 +14,9 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
-
-
-### utils
-### TODO: Describe
-### $Id: $
-###
-### author: Carlos Neves (cn (at) sueste.net)
-### (c) 2007 World Wide Workshop Foundation
+# If you find this activity useful or end up using parts of it in one of your
+# own creations we would love to hear from you at info@WorldWideWorkshop.org !
+#
import pygtk
pygtk.require('2.0')