diff --git a/gui/gui.cpp b/gui/gui.cpp index a270e365..ce8c3e29 100644 --- a/gui/gui.cpp +++ b/gui/gui.cpp @@ -474,6 +474,13 @@ static void ors_command_read() gui_set_FILE(orsout); PageManager::GetResources()->DumpStrings(); ors_command_done(); + } else if (strlen(command) == 11 && strncmp(command, "reloadtheme", 11) == 0) { + PageManager::RequestReload(); + ors_command_done(); + } else if (strlen(command) > 11 && strncmp(command, "changepage=", 11) == 0) { + char* pg = &command[11]; + gui_changePage(pg); + ors_command_done(); } else { // mirror output messages gui_set_FILE(orsout); diff --git a/gui/listbox.cpp b/gui/listbox.cpp index 9d36baed..9fbe0923 100644 --- a/gui/listbox.cpp +++ b/gui/listbox.cpp @@ -102,8 +102,10 @@ GUIListBox::GUIListBox(xml_node<>* node) : GUIScrollList(node) item.selected = (child->value() == currentValue); item.action = NULL; xml_node<>* action = child->first_node("action"); + if (!action) + action = child->first_node("actions"); if (action) { - item.action = new GUIAction(action); + item.action = new GUIAction(child); allowSelection = true; } xml_node<>* variable_name = child->first_node("data"); diff --git a/gui/theme/common/landscape.xml b/gui/theme/common/landscape.xml index 6df88625..a3e6ed82 100755 --- a/gui/theme/common/landscape.xml +++ b/gui/theme/common/landscape.xml @@ -165,6 +165,16 @@ + + + + + +