From c149a739c3a2f2064a396a1110b6c0c08288a654 Mon Sep 17 00:00:00 2001 From: Phil Blundell Date: Sun, 29 Aug 2004 12:23:05 +0000 Subject: 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 --- gpe-session-scripts/gpe-session-scripts-0.61/zaurus.sh | 12 ++++++++++++ gpe-session-scripts/gpe-session-scripts_0.61.oe | 6 +++++- 2 files changed, 17 insertions(+), 1 deletion(-) 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 } -- cgit v1.2.3