Promote terminal activity from terminal to activities. Fix api

This commit is contained in:
Marco Pesenti Gritti 2006-07-20 09:58:45 +02:00
parent d2fdd64003
commit 5731405901
6 changed files with 13 additions and 3 deletions

View File

@ -1 +1 @@
SUBDIRS = browser chat SUBDIRS = browser chat terminal

View File

@ -0,0 +1,9 @@
sugardir = $(pkgdatadir)/activities/browser
sugar_PYTHON = \
__init__.py \
terminal.py
activitydir = $(pkgdatadir)/activities/browser
activity_DATA = terminal.activity
EXTRA_DIST = $(activity_DATA)

View File

View File

@ -51,8 +51,8 @@ class Terminal(gtk.HBox):
pass pass
class TerminalActivity(Activity): class TerminalActivity(Activity):
def __init__(self, args): def __init__(self, service, args):
Activity.__init__(self, _TERMINAL_ACTIVITY_TYPE) Activity.__init__(self, service)
self.set_title("Terminal") self.set_title("Terminal")

View File

@ -26,6 +26,7 @@ Makefile
activities/Makefile activities/Makefile
activities/browser/Makefile activities/browser/Makefile
activities/chat/Makefile activities/chat/Makefile
activities/terminal/Makefile
shell/Makefile shell/Makefile
shell/data/Makefile shell/data/Makefile
shell/PresenceService/Makefile shell/PresenceService/Makefile