diff options
author | Ross Burton <ross@openedhand.com> | 2007-11-16 15:53:14 +0000 |
---|---|---|
committer | Ross Burton <ross@openedhand.com> | 2007-11-16 15:53:14 +0000 |
commit | dd45ce7f888f6d05b15367275b5314860c263cdf (patch) | |
tree | 097a2d75503cbb068cab6bd5485d426b464e2ce9 /meta/packages/matchbox-sato | |
parent | a8484dbc6332f50b61d8407df3208cfa95efcef9 (diff) | |
download | poky-dd45ce7f888f6d05b15367275b5314860c263cdf.tar.gz |
matchbox-sato: use formfactor to determine if we should show a cursor
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3190 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/matchbox-sato')
-rwxr-xr-x | meta/packages/matchbox-sato/matchbox-sato/etc/matchbox/session | 8 | ||||
-rw-r--r-- | meta/packages/matchbox-sato/matchbox-sato_0.1.bb | 4 |
2 files changed, 9 insertions, 3 deletions
diff --git a/meta/packages/matchbox-sato/matchbox-sato/etc/matchbox/session b/meta/packages/matchbox-sato/matchbox-sato/etc/matchbox/session index 8d095f3cd4..8a2bdd013a 100755 --- a/meta/packages/matchbox-sato/matchbox-sato/etc/matchbox/session +++ b/meta/packages/matchbox-sato/matchbox-sato/etc/matchbox/session | |||
@@ -1,6 +1,12 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | SHOWCURSOR="no" | 3 | . /etc/formfactor/config |
4 | |||
5 | if [ "$HAVE_TOUCHSCREEN" = "1" ]; then | ||
6 | SHOWCURSOR="no" | ||
7 | else | ||
8 | SHOWCURSOR="yes" | ||
9 | fi | ||
4 | 10 | ||
5 | matchbox-desktop & | 11 | matchbox-desktop & |
6 | 12 | ||
diff --git a/meta/packages/matchbox-sato/matchbox-sato_0.1.bb b/meta/packages/matchbox-sato/matchbox-sato_0.1.bb index bf39d73571..78598ce63d 100644 --- a/meta/packages/matchbox-sato/matchbox-sato_0.1.bb +++ b/meta/packages/matchbox-sato/matchbox-sato_0.1.bb | |||
@@ -1,9 +1,9 @@ | |||
1 | DESCRIPTION = "Custom MB session files for poky" | 1 | DESCRIPTION = "Custom MB session files for poky" |
2 | LICENSE = "GPL" | 2 | LICENSE = "GPL" |
3 | SECTION = "x11" | 3 | SECTION = "x11" |
4 | RDEPENDS = "gtk-sato-engine matchbox-theme-sato gtk-theme-sato matchbox-panel-2 matchbox-desktop-sato" | 4 | RDEPENDS = "formfactor gtk-sato-engine matchbox-theme-sato gtk-theme-sato matchbox-panel-2 matchbox-desktop-sato" |
5 | RCONFLICTS = "matchbox-common" | 5 | RCONFLICTS = "matchbox-common" |
6 | PR = "r16" | 6 | PR = "r17" |
7 | 7 | ||
8 | SRC_URI = "file://etc file://matchbox-session" | 8 | SRC_URI = "file://etc file://matchbox-session" |
9 | S = ${WORKDIR} | 9 | S = ${WORKDIR} |