summaryrefslogtreecommitdiff
path: root/indra/newview/llsidepanelinventory.cpp
diff options
context:
space:
mode:
authorLeslie Linden <leslie@lindenlab.com>2011-09-06 13:27:19 -0700
committerLeslie Linden <leslie@lindenlab.com>2011-09-06 13:27:19 -0700
commitb18390f0f8432029f4de31be912d77d527edc94e (patch)
tree6edcac107e333cbac4b1d6ad3d690e9da8fb6c90 /indra/newview/llsidepanelinventory.cpp
parentb3a2bd0d4d2ab633d2f8d73df5435677bcc1f5eb (diff)
* Disabling outbox for now.
Diffstat (limited to 'indra/newview/llsidepanelinventory.cpp')
-rw-r--r--indra/newview/llsidepanelinventory.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llsidepanelinventory.cpp b/indra/newview/llsidepanelinventory.cpp
index d958109927..522de30467 100644
--- a/indra/newview/llsidepanelinventory.cpp
+++ b/indra/newview/llsidepanelinventory.cpp
@@ -67,6 +67,9 @@ static LLRegisterPanelClassWrapper<LLSidepanelInventory> t_inventory("sidepanel_
// No longer want the inbox panel to auto-expand since it creates issues with the "new" tag time stamp
#define AUTO_EXPAND_INBOX 0
+// Temporarily disabling the outbox until we straighten out the API
+#define ENABLE_MERCHANT_OUTBOX_PANEL 0 // keep in sync with ENABLE_INVENTORY_DISPLAY_OUTBOX
+
static const char * const INBOX_BUTTON_NAME = "inbox_btn";
static const char * const OUTBOX_BUTTON_NAME = "outbox_btn";
@@ -310,6 +313,7 @@ void LLSidepanelInventory::handleLoginComplete()
enableInbox(true);
}
+#if ENABLE_MERCHANT_OUTBOX_PANEL
// Set up observer for outbox changes, if we have an outbox already
if (!outbox_id.isNull())
{
@@ -318,6 +322,7 @@ void LLSidepanelInventory::handleLoginComplete()
// Enable the display of the outbox if it exists
enableOutbox(true);
}
+#endif
}
void LLSidepanelInventory::observeInboxOutboxCreation()