View Single Post
No!No!No!Yes!'s Avatar
Posts: 700 | Thanked: 846 times | Joined on Nov 2009
#492
Originally Posted by TNiga View Post
Hi,

I'm making my own fm transmitter widget to match the looks of my other widgets on desktop, and I use this script with QB:
Code:
#!/bin/bash

STATE="`fmtx_client | grep state`"
if [ $STATE = "state=disabled" ]; then
        fmtx_client -p1
        fm-boost
        exit 0
elif [ $STATE = "state=enabled" ]; then
        fmtx_client -p0
        exit 5
fi
What I'm trying to do in QB is show image fmtx_on.png when exit status is 0 and fmtx_off.png.5 (I have written "fmtx_off.png" in the >=3 image) when exit status is 5, but for some reason widget shows no images at all. I know that exit statuses are recognised correctly since the background color changes but no images are shown. What could be wrong?
Have you checked position of images and visibility?
Is directory correct?
Refer to wiki for relevant settings.
__________________
Have a look at Queen BeeCon Widget (WIKI) Customizable and flexible widget-based multi-instance monitoring, alerting and interactive tool for the N900
Please provide comments and feedback for having QBW supported and enhanced further - (DONATE) - v1.3.3devel / v1.3.3testing / v1.3.3extras