From: Christopher M. <cpm...@co...> - 2010-07-04 23:04:07
|
Check the code for the slideshow module (e/trunk/E-MODULES-EXTRA/slideshow). It changes backgrounds on a timer just like you are trying todo :) dh On 07/04/2010 05:41 PM, Steve Jones wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi List, > > I have a program that sets the default background edj file, and changes > it periodically by calling e_bg_default_set. > > The first time I set the background, it works fine. However, if I > overwrite the edj file and call e_bg_default_set again, nothing happens, > as e decides (understandably) that since I've asked it to set the same > background file it doesn't need to do anything. > > Is there a way round this? I've tried copy-and-pasting the code from > e_bg_default_set, but it doesn't work (probably because I did it wrong). > It's also code duplication, which is a Bad Thing. I assume there's an e > API call somewhere, but I can't find it. > > TIA, > Steve. |