Change back button id in the addons dialog to have a proper cancel button

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5914 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
xapantu 2010-09-07 18:04:22 +00:00
parent 4fd864fc4b
commit 2d17e2c2b8
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
<div x="2%" y="10%" width="96%" height="80%" layout="horizontal-row" >
<div width="50%" height="100%" layout="vertical-row" >
<icon id="icon" align="center" proportion="8" width="100%" icon="gui/logo.png"/>
<button id="back" I18N="Addons" text="Back" align="center"/>
<button id="cancel" I18N="Addons" text="Back" align="center"/>
</div>
<div width="50%" height="100%" layout="vertical-row" >
<label id="name" width="100%" text="Name:" proportion="1" />

View File

@ -122,7 +122,7 @@ GUIEngine::EventPropagation AddonsLoading::processEvent(const std::string& event
m_widgets.push_back(m_state);
m_state->add();
this->getWidget<ButtonWidget>("back")->setDeactivated();
this->getWidget<ButtonWidget>("cancel")->setDeactivated();
//FIXME : re-implement this buttons
/*
m_next->setDeactivated();