diff options
author | Dmitry Zaporozhan <dzaporozhan@productengine.com> | 2009-11-11 13:05:15 +0200 |
---|---|---|
committer | Dmitry Zaporozhan <dzaporozhan@productengine.com> | 2009-11-11 13:05:15 +0200 |
commit | e29fbb572f2e10db1f2f3c448bc59aafec4a62c8 (patch) | |
tree | 8a209ce364f604ab9115cd83b2361a90704ef039 | |
parent | 1e9cdef67cc98fb7b954aca87938cbcc34762035 (diff) |
Update for major task EXT-2250 Implement Classifieds list in Picks panel.
Fixed accordion name and added code to show and expand classifieds accordion when first classified is created.
--HG--
branch : product-engine
-rw-r--r-- | indra/newview/llpanelpicks.cpp | 4 | ||||
-rw-r--r-- | indra/newview/skins/default/xui/en/panel_picks.xml | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llpanelpicks.cpp b/indra/newview/llpanelpicks.cpp index 4be8f12e32..6905c7e546 100644 --- a/indra/newview/llpanelpicks.cpp +++ b/indra/newview/llpanelpicks.cpp @@ -687,6 +687,10 @@ void LLPanelPicks::onPanelClassifiedSave(LLPanelClassifiedEdit* panel) c_item->setRightMouseUpCallback(boost::bind(&LLPanelPicks::onRightMouseUpItem, this, _1, _2, _3, _4)); c_item->setMouseUpCallback(boost::bind(&LLPanelPicks::updateButtons, this)); c_item->childSetAction("info_chevron", boost::bind(&LLPanelPicks::onClickInfo, this)); + + // order does matter, showAccordion will invoke arrange for accordions. + mClassifiedsAccTab->changeOpenClose(false); + showAccordion("tab_classifieds", true); } else { diff --git a/indra/newview/skins/default/xui/en/panel_picks.xml b/indra/newview/skins/default/xui/en/panel_picks.xml index dbe76e553b..65d5f51c58 100644 --- a/indra/newview/skins/default/xui/en/panel_picks.xml +++ b/indra/newview/skins/default/xui/en/panel_picks.xml @@ -46,7 +46,7 @@ layout="topleft" height="235" name="tab_classifieds" - title="Classified" + title="Classifieds" visible="false"> <flat_list_view color="DkGray2" |