Promote terminal activity from terminal to activities. Fix api
This commit is contained in:
parent
d2fdd64003
commit
5731405901
@ -1 +1 @@
|
|||||||
SUBDIRS = browser chat
|
SUBDIRS = browser chat terminal
|
||||||
|
9
activities/terminal/Makefile.am
Normal file
9
activities/terminal/Makefile.am
Normal 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)
|
0
activities/terminal/__init__.py
Normal file
0
activities/terminal/__init__.py
Normal 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")
|
||||||
|
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user