[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
sawmil update breaks old themes
Starting from sawmill (sawfish) release 0.29, old themes will have a bug:
when a window is shaded (minimized to titlebar only), the border will
remain.
The problem turned to be in new window class defined in 0.29
prior to 0.29, theme had to implement interface "shaped" in order to
provide shading.
starting from 0.29, new interface was added to provide shading : it is
called "shaded"
Following one-liner (ugly as hell, according to my excellent perl
programming habits :)
upgraded my themes.
Feel free to improve the converter.
here it is:
cat theme.jl|perl -e 'while(<>){print;s/([^"])shaped/$1shaded/&&print}'
--
--
Omer Mussaev 051-308-214 mailto:omerm@mercury.co.il
systems programmer, Mercury Interactive/RND/Conduct/core
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il