summaryrefslogtreecommitdiff
path: root/noncore/applets/autorotateapplet/opie-autorotate.postinst
authortreke <treke>2003-12-09 03:23:20 (UTC)
committer treke <treke>2003-12-09 03:23:20 (UTC)
commit1538a521b674d2eff02b926c0d82fa6184dd99db (patch) (side-by-side diff)
treec4e0c870e034275c31c901578f1e09527bc3361d /noncore/applets/autorotateapplet/opie-autorotate.postinst
parent0526dfbd3053dd89706f615e2549adfea8b87553 (diff)
downloadopie-1538a521b674d2eff02b926c0d82fa6184dd99db.zip
opie-1538a521b674d2eff02b926c0d82fa6184dd99db.tar.gz
opie-1538a521b674d2eff02b926c0d82fa6184dd99db.tar.bz2
Applet for turning on and off automatic rotation
Diffstat (limited to 'noncore/applets/autorotateapplet/opie-autorotate.postinst') (more/less context) (ignore whitespace changes)
-rwxr-xr-xnoncore/applets/autorotateapplet/opie-autorotate.postinst6
1 files changed, 6 insertions, 0 deletions
diff --git a/noncore/applets/autorotateapplet/opie-autorotate.postinst b/noncore/applets/autorotateapplet/opie-autorotate.postinst
new file mode 100755
index 0000000..a549c30
--- a/dev/null
+++ b/noncore/applets/autorotateapplet/opie-autorotate.postinst
@@ -0,0 +1,6 @@
+#!/bin/sh
+if pidof -s qpe >/dev/null; then
+ /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()"
+else
+ exit 0
+fi