summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-08-29 12:23:05 +0000
committerPhil Blundell <philb@gnu.org>2004-08-29 12:23:05 +0000
commitc149a739c3a2f2064a396a1110b6c0c08288a654 (patch)
tree6d32656785a3cebce9b153817da3f112f9b825ef
parent0e9db2b6ec300c6f151e1d0b581b347767a5796e (diff)
Merge bk://openembedded@openembedded.bkbits.net/packages
into stealth.(none):/home/pb/oe/oe-packages 2004/08/29 13:22:45+01:00 (none)!pb set Gtk/ToolbarStyle for non-bigscreen devices check that chkhinge exists before calling it BKrev: 4131caa9RPYkrxXt2E0q5vNLimChkg
-rw-r--r--gpe-session-scripts/gpe-session-scripts-0.61/zaurus.sh12
-rw-r--r--gpe-session-scripts/gpe-session-scripts_0.61.oe6
2 files changed, 17 insertions, 1 deletions
diff --git a/gpe-session-scripts/gpe-session-scripts-0.61/zaurus.sh b/gpe-session-scripts/gpe-session-scripts-0.61/zaurus.sh
index e69de29bb2..945d2f04bd 100644
--- a/gpe-session-scripts/gpe-session-scripts-0.61/zaurus.sh
+++ b/gpe-session-scripts/gpe-session-scripts-0.61/zaurus.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+if [ -z "`which chkhinge`" ]; then
+ # probably not a zaurus
+ exit 0
+fi
+
+chkhinge -e
+if [ $? = 10 ]; then
+ xrandr -o right
+fi
+
diff --git a/gpe-session-scripts/gpe-session-scripts_0.61.oe b/gpe-session-scripts/gpe-session-scripts_0.61.oe
index 4f0f5aae22..922a6e714f 100644
--- a/gpe-session-scripts/gpe-session-scripts_0.61.oe
+++ b/gpe-session-scripts/gpe-session-scripts_0.61.oe
@@ -1,4 +1,4 @@
-PR = "r2"
+PR = "r4"
inherit gpe
@@ -15,5 +15,9 @@ SRC_URI = "http://gpe.handhelds.org/pub/projects/gpe/source/gpe-session-scripts-
do_install_append() {
install ${WORKDIR}/zaurus.sh ${D}/etc/X11/Xinit.d/11zaurus
+ install -d ${D}/etc/gpe/xsettings-default.d
+ if [ "${GPE_MACHINE_CLASS}" != "bigscreen" ]; then
+ echo "Gtk/ToolbarStyle:S:icons" > ${D}/etc/gpe/xsettings-default.d/toolbar
+ fi
}