diff options
| author | leslie@leslie-HPz600.lindenlab.com <leslie@leslie-HPz600.lindenlab.com> | 2011-08-02 13:12:39 -0700 | 
|---|---|---|
| committer | leslie@leslie-HPz600.lindenlab.com <leslie@leslie-HPz600.lindenlab.com> | 2011-08-02 13:12:39 -0700 | 
| commit | 45bf1debaa805b64ce30e3c0670a2e9f24d43e08 (patch) | |
| tree | 9b00db2f91d759c3257dd5c310de4dadbd60e6c7 /indra/newview/llinventorypanel.cpp | |
| parent | 9778824b8c8ac3a0b6b373bbaac24f436fb23130 (diff) | |
* Fixed up outbox UI alignment to match inbox
* Added outbox item count to outbox button title
* Updated sync loading indicator to keep moving until http request complete
* Updated outbox panel display to use user_status http get response
* Removed inbox/outbox folder name hack from LLInventoryPanel
Diffstat (limited to 'indra/newview/llinventorypanel.cpp')
| -rw-r--r-- | indra/newview/llinventorypanel.cpp | 43 | 
1 files changed, 0 insertions, 43 deletions
diff --git a/indra/newview/llinventorypanel.cpp b/indra/newview/llinventorypanel.cpp index c3545efeaf..503c67d01b 100644 --- a/indra/newview/llinventorypanel.cpp +++ b/indra/newview/llinventorypanel.cpp @@ -163,49 +163,6 @@ void LLInventoryPanel::buildFolderView(const LLInventoryPanel::Params& params)  	{  		root_id = gInventory.getLibraryRootFolderID();  	} -	// leslie -- temporary HACK to work around sim not creating inbox and outbox with proper system folder type -	else if (preferred_type == LLFolderType::FT_INBOX) -	{ -		LLInventoryModel::cat_array_t* cats; -		LLInventoryModel::item_array_t* items; -		 -		gInventory.getDirectDescendentsOf(gInventory.getRootFolderID(), cats, items); -		 -		if (cats) -		{ -			for (LLInventoryModel::cat_array_t::const_iterator cat_it = cats->begin(); cat_it != cats->end(); ++cat_it) -			{ -				LLInventoryCategory* cat = *cat_it; -				 -				if (cat->getName() == "Received Items") -				{ -					root_id = cat->getUUID(); -				} -			} -		} -	} -	// leslie -- temporary HACK to work around sim not creating inbox and outbox with proper system folder type -	/*else if (preferred_type == LLFolderType::FT_OUTBOX) -	{ -		LLInventoryModel::cat_array_t* cats; -		LLInventoryModel::item_array_t* items; -		 -		gInventory.getDirectDescendentsOf(gInventory.getRootFolderID(), cats, items); -		 -		if (cats) -		{ -			for (LLInventoryModel::cat_array_t::const_iterator cat_it = cats->begin(); cat_it != cats->end(); ++cat_it) -			{ -				LLInventoryCategory* cat = *cat_it; -				 -				if (cat->getName() == "Merchant Outbox") -				{ -					root_id = cat->getUUID(); -				} -			} -		} -	}*/ -	// leslie -- end temporary HACK  	else  	{  		root_id = (preferred_type != LLFolderType::FT_NONE)  | 
