4-This line, and those below, will be ignored --

M    src/states_screens/addons_screen.cpp
M    data/gui/addons.stkguRemoved unused field.i


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8627 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk
2011-05-17 07:06:10 +00:00
parent 837277ef92
commit 1bd17892e5
2 changed files with 3 additions and 10 deletions

View File

@@ -13,15 +13,12 @@
<icon-button id="tab_track" width="128" height="128" icon="gui/mode_normal.png"
I18N="Section in the addons menu" text="Tracks"/>
</tabs>
<spacer height="15" width="10"/>
<box proportion="1" width="100%" layout="vertical-row" align="center">
<label id="update_status" width="100%" height="10%" text_align="left" />
<list id="list_addons" proportion="1" width="97%" align="center"/>
<list id="list_addons" proportion="1" width="97%" align="center"/>
<spacer width="1" height="3%" />
<spacer width="1" height="3%" />
</box>
</div>
</stkgui>

View File

@@ -77,9 +77,6 @@ void AddonsScreen::init()
getWidget<GUIEngine::ListWidget>("list_addons");
w_list->setIcons(m_icon_bank);
getWidget<GUIEngine::LabelWidget>("update_status")
->setText(_("Updating the list..."), false);
m_type = "kart";
loadList();
} // init
@@ -113,7 +110,6 @@ void AddonsScreen::loadList()
}
getWidget<GUIEngine::RibbonWidget>("category")->setActivated();
getWidget<GUIEngine::LabelWidget>("update_status")->setText("", false);
if(m_type == "kart")
getWidget<GUIEngine::RibbonWidget>("category")->select("tab_kart",
PLAYER_ID_GAME_MASTER);