Promote terminal activity from terminal to activities. Fix api
This commit is contained in:
@@ -1 +1 @@
|
||||
SUBDIRS = browser chat
|
||||
SUBDIRS = browser chat terminal
|
||||
|
||||
@@ -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)
|
||||
@@ -51,8 +51,8 @@ class Terminal(gtk.HBox):
|
||||
pass
|
||||
|
||||
class TerminalActivity(Activity):
|
||||
def __init__(self, args):
|
||||
Activity.__init__(self, _TERMINAL_ACTIVITY_TYPE)
|
||||
def __init__(self, service, args):
|
||||
Activity.__init__(self, service)
|
||||
|
||||
self.set_title("Terminal")
|
||||
|
||||
@@ -26,6 +26,7 @@ Makefile
|
||||
activities/Makefile
|
||||
activities/browser/Makefile
|
||||
activities/chat/Makefile
|
||||
activities/terminal/Makefile
|
||||
shell/Makefile
|
||||
shell/data/Makefile
|
||||
shell/PresenceService/Makefile
|
||||
|
||||
Reference in New Issue
Block a user