Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/activities/chat
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2006-10-24 22:12:46 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2006-10-24 22:12:46 (GMT)
commitbae47abd09dde8e6700646a8911c3b0e0b470cd6 (patch)
treebe88699562e324476274c7bc54b2bc3a2bc07fc2 /activities/chat
parentd238ae89c928dd3986859348281e375b75424388 (diff)
s/groupchat/chat
Diffstat (limited to 'activities/chat')
-rw-r--r--activities/chat/Makefile.am6
-rw-r--r--activities/chat/__init__.py0
-rw-r--r--activities/chat/chat.activity6
-rw-r--r--activities/chat/chatactivity.py24
4 files changed, 36 insertions, 0 deletions
diff --git a/activities/chat/Makefile.am b/activities/chat/Makefile.am
new file mode 100644
index 0000000..e77c345
--- /dev/null
+++ b/activities/chat/Makefile.am
@@ -0,0 +1,6 @@
+sugardir = $(pkgdatadir)/activities/chat
+sugar_PYTHON = \
+ __init__.py \
+ ChatActivity.py
+
+EXTRA_DIST = chat.activity
diff --git a/activities/chat/__init__.py b/activities/chat/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/activities/chat/__init__.py
diff --git a/activities/chat/chat.activity b/activities/chat/chat.activity
new file mode 100644
index 0000000..b0b8ea7
--- /dev/null
+++ b/activities/chat/chat.activity
@@ -0,0 +1,6 @@
+[Activity]
+name = GroupChat
+icon = activity-chat
+id = org.laptop.ChatActivity
+python_module = chat.chatactivity.ChatActivity
+show_launcher = no
diff --git a/activities/chat/chatactivity.py b/activities/chat/chatactivity.py
new file mode 100644
index 0000000..264311b
--- /dev/null
+++ b/activities/chat/chatactivity.py
@@ -0,0 +1,24 @@
+# Copyright (C) 2006, Red Hat, Inc.
+#
+# 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
+
+from gettext import gettext as _
+
+from sugar.activity.Activity import Activity
+
+class GroupChatActivity(Activity):
+ def __init__(self):
+ Activity.__init__(self)
+ self.set_title(_('Group chat'))