Merge bk://openembedded@openembedded.bkbits.net/packages
authorPhil Blundell <philb@gnu.org>
Sun, 29 Aug 2004 12:23:05 +0000 (12:23 +0000)
committerPhil Blundell <philb@gnu.org>
Sun, 29 Aug 2004 12:23:05 +0000 (12:23 +0000)
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
gpe-session-scripts/gpe-session-scripts_0.61.oe

index e69de29..945d2f0 100644 (file)
@@ -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
+
index 4f0f5aa..922a6e7 100644 (file)
@@ -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
 }