From 53947aaaf2db8aa7c5b0229f06730626666f870b Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Thu, 20 Jul 2006 08:49:44 +0000 Subject: Add script to launch an activity. Associate F4 in the wm to the terminal activity --- (limited to 'shell') diff --git a/shell/Makefile.am b/shell/Makefile.am index ecf7329..05fa2c4 100644 --- a/shell/Makefile.am +++ b/shell/Makefile.am @@ -1,6 +1,10 @@ SUBDIRS = data -bin_SCRIPTS = sugar sugar-activity +bin_SCRIPTS = \ + sugar \ + sugar-activity \ + sugar-activity-factory \ + sugar-people sugardir = $(pkgdatadir)/shell sugar_PYTHON = \ diff --git a/shell/data/kbdconfig b/shell/data/kbdconfig index 3e8d170..3070536 100644 --- a/shell/data/kbdconfig +++ b/shell/data/kbdconfig @@ -7,3 +7,4 @@ c=close f1=desktop f2=!sugar-people +f4=!sugar-activity org.sugar.Terminal diff --git a/shell/sugar-activity b/shell/sugar-activity new file mode 100755 index 0000000..ca46f09 --- /dev/null +++ b/shell/sugar-activity @@ -0,0 +1,7 @@ +#!/usr/bin/python + +import sys + +from sugar.activity import Activity + +Activity.create(sys.argv[1]) -- cgit v0.9.1