if(!this->liveboxId.empty()) {
writeAttribute(writer, "appid", this->liveboxId);
}
+
if(!this->primary.empty()) {
writeAttribute(writer, "primary", this->primary);
}
- if(!this->autoLaunch.empty()) {
- writeAttribute(writer, "auto_launch", this->autoLaunch);
- }
if(!this->updatePeriod.empty()) {
writeAttribute(writer, "period", this->updatePeriod);
endElement(writer);
}
+ if(!this->autoLaunch.empty()) {
+ startElement(writer, "launch");
+ writeText(writer, this->autoLaunch);
+ endElement(writer);
+ }
+
if(!this->box.boxSrc.empty() && !this->box.boxSize.empty())
{
startElement(writer, "box");
}
}
- if(ConfigInfo->m_primary !=L"")
+ if(ConfigInfo->m_primary != L"")
liveBox.setPrimary(ConfigInfo->m_primary);
- if(ConfigInfo->m_autoLaunch !=L"")
- liveBox.setAutoLaunch(ConfigInfo->m_autoLaunch);
+ if(ConfigInfo->m_autoLaunch == L"true")
+ liveBox.setAutoLaunch(pkgname);
- if(ConfigInfo->m_updatePeriod !=L"")
+ if(ConfigInfo->m_updatePeriod != L"")
liveBox.setUpdatePeriod(ConfigInfo->m_updatePeriod);
- if(ConfigInfo->m_label !=L"")
+ if(ConfigInfo->m_label != L"")
liveBox.setLabel(ConfigInfo->m_label);
DPL::String defaultLocale