meow-7.2.2
Tofu Linden 2010-01-15 11:19:19 -08:00
commit 61e243ad06
10 changed files with 16 additions and 14 deletions

View File

@ -868,14 +868,6 @@ bool LLUICtrl::findHelpTopic(std::string& help_topic_out)
if (panel)
{
// does the panel have an active tab with a help topic?
LLPanel *tab = panel->childGetVisibleTabWithHelp();
if (tab)
{
help_topic_out = tab->getHelpTopic();
return true; // success (tab)
}
// does the panel have a sub-panel with a help topic?
LLPanel *subpanel = panel->childGetVisiblePanelWithHelp();
if (subpanel)
@ -884,6 +876,14 @@ bool LLUICtrl::findHelpTopic(std::string& help_topic_out)
return true; // success (subpanel)
}
// does the panel have an active tab with a help topic?
LLPanel *tab = panel->childGetVisibleTabWithHelp();
if (tab)
{
help_topic_out = tab->getHelpTopic();
return true; // success (tab)
}
// otherwise, does the panel have a help topic itself?
if (!panel->getHelpTopic().empty())
{

View File

@ -7,6 +7,7 @@
left="0"
min_height="350"
name="panel_classified_info"
help_topic="profile_classified_info"
top="0"
width="333">
<panel.string

View File

@ -9,6 +9,7 @@
left="0"
min_height="350"
name="panel_edit_classified"
help_topic="profile_edit_classified"
top="0"
width="333">
<panel.string

View File

@ -9,6 +9,7 @@
left="0"
min_height="350"
name="panel_edit_pick"
help_topic="profile_edit_pick"
top="0"
width="333">
<button

View File

@ -41,6 +41,7 @@ halign="center"
follows="all"
height="295"
label="MY INVENTORY"
help_topic="my_inventory_tab"
layout="topleft"
left="0"
name="All Items"
@ -51,6 +52,7 @@ halign="center"
follows="all"
height="295"
label="RECENT"
help_topic="recent_inventory_tab"
layout="topleft"
left_delta="0"
name="Recent Items"

View File

@ -7,6 +7,7 @@
left="0"
min_height="350"
name="panel_pick_info"
help_topic="profile_pick_info"
top="0"
width="333">
<button

View File

@ -124,7 +124,6 @@
height="25"
top_pad="10"
name="buttons_cucks"
help_topic="picks_button_tab"
width="313">
<button
enabled="false"

View File

@ -33,7 +33,6 @@
<panel
height="25"
layout="bottomright"
help_topic="item_button_tab"
name="button_panel"
left="5"
bottom="5"

View File

@ -401,7 +401,6 @@ top_pad="10"
<panel
height="30"
layout="bottomright"
help_topic="button_tab"
name="button_panel"
left="5"
bottom="2"
@ -414,4 +413,4 @@ top_pad="10"
right="-1"
width="100" />
</panel>
</panel>
</panel>

View File

@ -518,7 +518,6 @@
<panel
height="25"
layout="bottomright"
help_topic="button_tab"
name="button_panel"
left="5"
bottom="5"
@ -551,4 +550,4 @@
top="0"
width="100" />
</panel>
</panel>
</panel>