Here's a minor GUI change that we made based on user feedback. It just makes the graphical buttons (compose, send, etc) darken when clicked, like Firefox and Thunderbird:

1. CD into your top-level "roundcube" folder and grab the patch:

wget http://www.whidbey.net/richs/rc-clickables.patch

2. Apply patch:

patch -p0 < rc-clickables.patch

3. Update your buttons (You must have the "convert" tool from ImageMagick: http://www.imagemagick.org/script/binary-releases.php )

cd skins/default/images/buttons
ls -1 *act.png | awk '{s=$1;sub(/act\./,"sel.",s);print"convert - modulate 64 "$1" "s}'|sh

4. Update your templates to use the buttons:

cd ../../templates
sed -i -s -e "s/\(image\)\(=\".*\)\(_act\.\)\(...\"\)/& imageAct\2\3 \4/g" *.html sed -i -s -e "s/\(imageAct\)\(=\".*\)\(_act\.\)\(...\"\)/imageSel \2_sel.\4 &/g" *.html

5. Test it by logging into RoundCube and clicking on Compose.

Hope this can be considered for inclusion someday for the default skin if people like it. I can send the darkened buttons to anyone who doesn't want to install ImageMagick.

The instructions should work if you use custom templates/buttons too.

Rich


Reply via email to