Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2006-07-20 08:49:44 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2006-07-20 08:49:44 (GMT)
commit53947aaaf2db8aa7c5b0229f06730626666f870b (patch)
treec7eefb8cd123d1d507d976c2ea6466276d6ef110 /shell
parentaf54f25e0e0b95551483cf46ecb6e274984cc96e (diff)
Add script to launch an activity. Associate F4 in the wm to the terminal activity
Diffstat (limited to 'shell')
-rw-r--r--shell/Makefile.am6
-rw-r--r--shell/data/kbdconfig1
-rwxr-xr-xshell/sugar-activity7
3 files changed, 13 insertions, 1 deletions
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 @@
<Alt>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])