--- eboxy/eboxy/skinparser.cpp 2004-05-01 17:55:51.000000000 +1200 +++ eboxy/eboxy/skinparser.cpp 2004-06-11 21:51:23.096759792 +1200 @@ -594,7 +594,10 @@ // Create the timer InterfacePlugin *plugin = interface_manager.GetPlugin(); timer = dynamic_cast(plugin->CreateObject(TYPESTR_TIMER, name)); - + + timer->SetInterval(interval); + timer->SetAutoStart(autostart); + // Grab attached event handlers str = (char *)xmlNodeListGetString(doc, node->xmlChildrenNode, 1); if(str != NULL) { --- eboxy/eboxy/basewidgets/timerbase.h 2003-11-07 21:37:27.000000000 +1300 +++ eboxy/eboxy/basewidgets/timerbase.h 2004-06-11 21:47:04.833021848 +1200 @@ -27,6 +27,7 @@ virtual ~TimerObjectBase(void); void SetInterval(int interval); virtual void SetEnabled(bool enable); + void SetAutoStart(bool autostart); virtual void Fire(void); void AutoStart(void); int DoInitialise(void); --- eboxy/eboxy/basewidgets/timerbase.cpp 2003-11-07 21:37:27.000000000 +1300 +++ eboxy/eboxy/basewidgets/timerbase.cpp 2004-06-11 21:51:01.254080384 +1200 @@ -64,6 +64,10 @@ } } +void TimerObjectBase::SetAutoStart(bool autostart) { + this->autostart = autostart; +} + void TimerObjectBase::SetEnabled(bool enable) { // Override in parent classes to init/uninit real timer this->enabled = enable;