diff options
author | McCabe Maxsted | 2009-01-30 03:38:02 -0700 |
---|---|---|
committer | McCabe Maxsted | 2009-01-30 03:38:02 -0700 |
commit | 8c2544a83fc36d36002f5b9399f263dfa3e07a52 (patch) | |
tree | 94f889fe5037bde5eca65cecee28a7c9b13d3574 /linden/indra/newview | |
parent | Merge branch 'highresfix' into 1.1.0-RC1 (diff) | |
parent | Vetoed shortcut for Show XUI Names (Ctrl-Shift-X). (diff) | |
download | meta-impy-8c2544a83fc36d36002f5b9399f263dfa3e07a52.zip meta-impy-8c2544a83fc36d36002f5b9399f263dfa3e07a52.tar.gz meta-impy-8c2544a83fc36d36002f5b9399f263dfa3e07a52.tar.bz2 meta-impy-8c2544a83fc36d36002f5b9399f263dfa3e07a52.tar.xz |
merged in jacek/next
Diffstat (limited to 'linden/indra/newview')
-rwxr-xr-x | linden/indra/newview/linux_tools/wrapper.sh | 2 | ||||
-rw-r--r-- | linden/indra/newview/llfolderview.cpp | 12 | ||||
-rw-r--r-- | linden/indra/newview/llfolderview.h | 5 | ||||
-rw-r--r-- | linden/indra/newview/llinventoryview.cpp | 24 | ||||
-rw-r--r-- | linden/indra/newview/llinventoryview.h | 3 | ||||
-rw-r--r-- | linden/indra/newview/llpanelface.cpp | 2 | ||||
-rw-r--r-- | linden/indra/newview/llpanelgeneral.cpp | 2 | ||||
-rw-r--r-- | linden/indra/newview/llviewermenu.cpp | 29 | ||||
-rw-r--r-- | linden/indra/newview/skins/default/xui/en-us/floater_inventory.xml | 4 | ||||
-rw-r--r-- | linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml | 13 |
10 files changed, 93 insertions, 3 deletions
diff --git a/linden/indra/newview/linux_tools/wrapper.sh b/linden/indra/newview/linux_tools/wrapper.sh index e1c68b9..23053d3 100755 --- a/linden/indra/newview/linux_tools/wrapper.sh +++ b/linden/indra/newview/linux_tools/wrapper.sh | |||
@@ -102,6 +102,8 @@ if [ -n "$LL_TCMALLOC" ]; then | |||
102 | fi | 102 | fi |
103 | fi | 103 | fi |
104 | 104 | ||
105 | export GST_PLUGIN_PATH="${GST_PLUGIN_PATH}:${RUN_PATH}/lib/gstreamer-plugins/" | ||
106 | |||
105 | export SL_ENV='LD_LIBRARY_PATH="`pwd`"/lib:"`pwd`"/app_settings/mozilla-runtime-linux-i686:"${LD_LIBRARY_PATH}"' | 107 | export SL_ENV='LD_LIBRARY_PATH="`pwd`"/lib:"`pwd`"/app_settings/mozilla-runtime-linux-i686:"${LD_LIBRARY_PATH}"' |
106 | export SL_CMD='$LL_WRAPPER bin/do-not-directly-run-imprudence-bin' | 108 | export SL_CMD='$LL_WRAPPER bin/do-not-directly-run-imprudence-bin' |
107 | export SL_OPT="`cat gridargs.dat` $@" | 109 | export SL_OPT="`cat gridargs.dat` $@" |
diff --git a/linden/indra/newview/llfolderview.cpp b/linden/indra/newview/llfolderview.cpp index cb9a379..4ef52f0 100644 --- a/linden/indra/newview/llfolderview.cpp +++ b/linden/indra/newview/llfolderview.cpp | |||
@@ -4490,6 +4490,7 @@ LLInventoryFilter::LLInventoryFilter(const std::string& name) : | |||
4490 | 4490 | ||
4491 | mSubStringMatchOffset = 0; | 4491 | mSubStringMatchOffset = 0; |
4492 | mFilterSubString.clear(); | 4492 | mFilterSubString.clear(); |
4493 | mFilterWorn = false; | ||
4493 | mFilterGeneration = 0; | 4494 | mFilterGeneration = 0; |
4494 | mMustPassGeneration = S32_MAX; | 4495 | mMustPassGeneration = S32_MAX; |
4495 | mMinRequiredGeneration = 0; | 4496 | mMinRequiredGeneration = 0; |
@@ -4521,9 +4522,12 @@ BOOL LLInventoryFilter::check(LLFolderViewItem* item) | |||
4521 | earliest = 0; | 4522 | earliest = 0; |
4522 | } | 4523 | } |
4523 | LLFolderViewEventListener* listener = item->getListener(); | 4524 | LLFolderViewEventListener* listener = item->getListener(); |
4525 | const LLUUID& item_id = listener->getUUID(); | ||
4524 | mSubStringMatchOffset = mFilterSubString.size() ? item->getSearchableLabel().find(mFilterSubString) : std::string::npos; | 4526 | mSubStringMatchOffset = mFilterSubString.size() ? item->getSearchableLabel().find(mFilterSubString) : std::string::npos; |
4525 | BOOL passed = (listener->getNInventoryType() & mFilterOps.mFilterTypes || listener->getNInventoryType() == LLInventoryType::NIT_NONE) | 4527 | BOOL passed = (listener->getNInventoryType() & mFilterOps.mFilterTypes || listener->getNInventoryType() == LLInventoryType::NIT_NONE) |
4526 | && (mFilterSubString.size() == 0 || mSubStringMatchOffset != std::string::npos) | 4528 | && (mFilterSubString.size() == 0 || mSubStringMatchOffset != std::string::npos) |
4529 | && (mFilterWorn == false || gAgent.isWearingItem(item_id) || | ||
4530 | gAgent.getAvatarObject() && gAgent.getAvatarObject()->isWearingAttachment(item_id)) | ||
4527 | && ((listener->getPermissionMask() & mFilterOps.mPermissions) == mFilterOps.mPermissions) | 4531 | && ((listener->getPermissionMask() & mFilterOps.mPermissions) == mFilterOps.mPermissions) |
4528 | && (listener->getCreationDate() >= earliest && listener->getCreationDate() <= mFilterOps.mMaxDate); | 4532 | && (listener->getCreationDate() >= earliest && listener->getCreationDate() <= mFilterOps.mMaxDate); |
4529 | return passed; | 4533 | return passed; |
@@ -4544,6 +4548,7 @@ BOOL LLInventoryFilter::isNotDefault() | |||
4544 | { | 4548 | { |
4545 | return mFilterOps.mFilterTypes != mDefaultFilterOps.mFilterTypes | 4549 | return mFilterOps.mFilterTypes != mDefaultFilterOps.mFilterTypes |
4546 | || mFilterSubString.size() | 4550 | || mFilterSubString.size() |
4551 | || mFilterWorn | ||
4547 | || mFilterOps.mPermissions != mDefaultFilterOps.mPermissions | 4552 | || mFilterOps.mPermissions != mDefaultFilterOps.mPermissions |
4548 | || mFilterOps.mMinDate != mDefaultFilterOps.mMinDate | 4553 | || mFilterOps.mMinDate != mDefaultFilterOps.mMinDate |
4549 | || mFilterOps.mMaxDate != mDefaultFilterOps.mMaxDate | 4554 | || mFilterOps.mMaxDate != mDefaultFilterOps.mMaxDate |
@@ -4554,6 +4559,7 @@ BOOL LLInventoryFilter::isActive() | |||
4554 | { | 4559 | { |
4555 | return mFilterOps.mFilterTypes != LLInventoryType::NIT_ALL | 4560 | return mFilterOps.mFilterTypes != LLInventoryType::NIT_ALL |
4556 | || mFilterSubString.size() | 4561 | || mFilterSubString.size() |
4562 | || mFilterWorn | ||
4557 | || mFilterOps.mPermissions != PERM_NONE | 4563 | || mFilterOps.mPermissions != PERM_NONE |
4558 | || mFilterOps.mMinDate != time_min() | 4564 | || mFilterOps.mMinDate != time_min() |
4559 | || mFilterOps.mMaxDate != time_max() | 4565 | || mFilterOps.mMaxDate != time_max() |
@@ -4989,6 +4995,12 @@ std::string LLInventoryFilter::rebuildFilterText() | |||
4989 | { | 4995 | { |
4990 | mFilterText += " - Since Logoff"; | 4996 | mFilterText += " - Since Logoff"; |
4991 | } | 4997 | } |
4998 | |||
4999 | if (getFilterWorn()) | ||
5000 | { | ||
5001 | mFilterText += " - Worn"; | ||
5002 | } | ||
5003 | |||
4992 | return mFilterText; | 5004 | return mFilterText; |
4993 | } | 5005 | } |
4994 | 5006 | ||
diff --git a/linden/indra/newview/llfolderview.h b/linden/indra/newview/llfolderview.h index af3248d..b668015 100644 --- a/linden/indra/newview/llfolderview.h +++ b/linden/indra/newview/llfolderview.h | |||
@@ -194,6 +194,9 @@ public: | |||
194 | 194 | ||
195 | void setFilterSubString(const std::string& string); | 195 | void setFilterSubString(const std::string& string); |
196 | const std::string getFilterSubString(BOOL trim = FALSE); | 196 | const std::string getFilterSubString(BOOL trim = FALSE); |
197 | |||
198 | void setFilterWorn(bool worn) { mFilterWorn = worn; } | ||
199 | bool getFilterWorn() const { return mFilterWorn; } | ||
197 | 200 | ||
198 | void setFilterPermissions(PermissionMask perms); | 201 | void setFilterPermissions(PermissionMask perms); |
199 | PermissionMask getFilterPermissions() const { return mFilterOps.mPermissions; } | 202 | PermissionMask getFilterPermissions() const { return mFilterOps.mPermissions; } |
@@ -257,6 +260,7 @@ protected: | |||
257 | filter_ops mDefaultFilterOps; | 260 | filter_ops mDefaultFilterOps; |
258 | std::string::size_type mSubStringMatchOffset; | 261 | std::string::size_type mSubStringMatchOffset; |
259 | std::string mFilterSubString; | 262 | std::string mFilterSubString; |
263 | bool mFilterWorn; | ||
260 | U32 mOrder; | 264 | U32 mOrder; |
261 | const std::string mName; | 265 | const std::string mName; |
262 | S32 mFilterGeneration; | 266 | S32 mFilterGeneration; |
@@ -745,6 +749,7 @@ public: | |||
745 | 749 | ||
746 | LLInventoryFilter* getFilter() { return &mFilter; } | 750 | LLInventoryFilter* getFilter() { return &mFilter; } |
747 | const std::string getFilterSubString(BOOL trim = FALSE); | 751 | const std::string getFilterSubString(BOOL trim = FALSE); |
752 | bool getFilterWorn() const { return mFilter.getFilterWorn(); } | ||
748 | U32 getFilterTypes() const { return mFilter.getFilterTypes(); } | 753 | U32 getFilterTypes() const { return mFilter.getFilterTypes(); } |
749 | PermissionMask getFilterPermissions() const { return mFilter.getFilterPermissions(); } | 754 | PermissionMask getFilterPermissions() const { return mFilter.getFilterPermissions(); } |
750 | LLInventoryFilter::EFolderShow getShowFolderState() { return mFilter.getShowFolderState(); } | 755 | LLInventoryFilter::EFolderShow getShowFolderState() { return mFilter.getShowFolderState(); } |
diff --git a/linden/indra/newview/llinventoryview.cpp b/linden/indra/newview/llinventoryview.cpp index a265906..1e16b92 100644 --- a/linden/indra/newview/llinventoryview.cpp +++ b/linden/indra/newview/llinventoryview.cpp | |||
@@ -547,6 +547,15 @@ void LLInventoryView::init(LLInventoryModel* inventory) | |||
547 | recent_items_panel->getFilter()->markDefault(); | 547 | recent_items_panel->getFilter()->markDefault(); |
548 | recent_items_panel->setSelectCallback(onSelectionChange, recent_items_panel); | 548 | recent_items_panel->setSelectCallback(onSelectionChange, recent_items_panel); |
549 | } | 549 | } |
550 | LLInventoryPanel* worn_items_panel = getChild<LLInventoryPanel>("Worn Items"); | ||
551 | if (worn_items_panel) | ||
552 | { | ||
553 | worn_items_panel->setSortOrder(gSavedSettings.getU32("InventorySortOrder")); | ||
554 | worn_items_panel->setShowFolderState(LLInventoryFilter::SHOW_NON_EMPTY_FOLDERS); | ||
555 | worn_items_panel->getFilter()->markDefault(); | ||
556 | worn_items_panel->setFilterWorn(true); | ||
557 | worn_items_panel->setSelectCallback(onSelectionChange, worn_items_panel); | ||
558 | } | ||
550 | 559 | ||
551 | // Now load the stored settings from disk, if available. | 560 | // Now load the stored settings from disk, if available. |
552 | std::ostringstream filterSaveName; | 561 | std::ostringstream filterSaveName; |
@@ -595,6 +604,7 @@ BOOL LLInventoryView::postBuild() | |||
595 | { | 604 | { |
596 | childSetTabChangeCallback("inventory filter tabs", "All Items", onFilterSelected, this); | 605 | childSetTabChangeCallback("inventory filter tabs", "All Items", onFilterSelected, this); |
597 | childSetTabChangeCallback("inventory filter tabs", "Recent Items", onFilterSelected, this); | 606 | childSetTabChangeCallback("inventory filter tabs", "Recent Items", onFilterSelected, this); |
607 | childSetTabChangeCallback("inventory filter tabs", "Worn Items", onFilterSelected, this); | ||
598 | //panel->getFilter()->markDefault(); | 608 | //panel->getFilter()->markDefault(); |
599 | return TRUE; | 609 | return TRUE; |
600 | } | 610 | } |
@@ -621,6 +631,15 @@ LLInventoryView::~LLInventoryView( void ) | |||
621 | filter->toLLSD(filterState); | 631 | filter->toLLSD(filterState); |
622 | filterRoot[filter->getName()] = filterState; | 632 | filterRoot[filter->getName()] = filterState; |
623 | } | 633 | } |
634 | |||
635 | LLInventoryPanel* worn_items_panel = getChild<LLInventoryPanel>("Worn Items"); | ||
636 | if (worn_items_panel) | ||
637 | { | ||
638 | LLInventoryFilter* filter = worn_items_panel->getFilter(); | ||
639 | LLSD filterState; | ||
640 | filter->toLLSD(filterState); | ||
641 | filterRoot[filter->getName()] = filterState; | ||
642 | } | ||
624 | 643 | ||
625 | std::ostringstream filterSaveName; | 644 | std::ostringstream filterSaveName; |
626 | filterSaveName << gDirUtilp->getExpandedFilename(LL_PATH_PER_SL_ACCOUNT, "filters.xml"); | 645 | filterSaveName << gDirUtilp->getExpandedFilename(LL_PATH_PER_SL_ACCOUNT, "filters.xml"); |
@@ -1653,6 +1672,11 @@ void LLInventoryPanel::setFilterSubString(const std::string& string) | |||
1653 | mFolders->getFilter()->setFilterSubString(string); | 1672 | mFolders->getFilter()->setFilterSubString(string); |
1654 | } | 1673 | } |
1655 | 1674 | ||
1675 | void LLInventoryPanel::setFilterWorn(bool worn) | ||
1676 | { | ||
1677 | mFolders->getFilter()->setFilterWorn(worn); | ||
1678 | } | ||
1679 | |||
1656 | void LLInventoryPanel::setSortOrder(U32 order) | 1680 | void LLInventoryPanel::setSortOrder(U32 order) |
1657 | { | 1681 | { |
1658 | mFolders->getFilter()->setSortOrder(order); | 1682 | mFolders->getFilter()->setSortOrder(order); |
diff --git a/linden/indra/newview/llinventoryview.h b/linden/indra/newview/llinventoryview.h index c5c8532..dd6756a 100644 --- a/linden/indra/newview/llinventoryview.h +++ b/linden/indra/newview/llinventoryview.h | |||
@@ -108,6 +108,9 @@ public: | |||
108 | U32 getFilterPermMask() const { return mFolders->getFilterPermissions(); } | 108 | U32 getFilterPermMask() const { return mFolders->getFilterPermissions(); } |
109 | void setFilterSubString(const std::string& string); | 109 | void setFilterSubString(const std::string& string); |
110 | const std::string getFilterSubString() { return mFolders->getFilterSubString(); } | 110 | const std::string getFilterSubString() { return mFolders->getFilterSubString(); } |
111 | void setFilterWorn(bool worn); | ||
112 | bool getFilterWorn() const { return mFolders->getFilterWorn(); } | ||
113 | |||
111 | void setSortOrder(U32 order); | 114 | void setSortOrder(U32 order); |
112 | U32 getSortOrder() { return mFolders->getSortOrder(); } | 115 | U32 getSortOrder() { return mFolders->getSortOrder(); } |
113 | void setSinceLogoff(BOOL sl); | 116 | void setSinceLogoff(BOOL sl); |
diff --git a/linden/indra/newview/llpanelface.cpp b/linden/indra/newview/llpanelface.cpp index d1c34f1..0c642bc 100644 --- a/linden/indra/newview/llpanelface.cpp +++ b/linden/indra/newview/llpanelface.cpp | |||
@@ -999,4 +999,4 @@ void LLPanelFace::onClickAutoFix(void* userdata) | |||
999 | void LLPanelFace::onClickTextureConstants(void *) | 999 | void LLPanelFace::onClickTextureConstants(void *) |
1000 | { | 1000 | { |
1001 | gViewerWindow->alertXml("ClickTextureConstants"); | 1001 | gViewerWindow->alertXml("ClickTextureConstants"); |
1002 | } \ No newline at end of file | 1002 | } |
diff --git a/linden/indra/newview/llpanelgeneral.cpp b/linden/indra/newview/llpanelgeneral.cpp index 16da49d..6166ba5 100644 --- a/linden/indra/newview/llpanelgeneral.cpp +++ b/linden/indra/newview/llpanelgeneral.cpp | |||
@@ -249,4 +249,4 @@ void LLPanelGeneral::onClickResetUISize(void* user_data) | |||
249 | { | 249 | { |
250 | gSavedSettings.setF32("UIScaleFactor", 1.0f); | 250 | gSavedSettings.setF32("UIScaleFactor", 1.0f); |
251 | gViewerWindow->reshape(gViewerWindow->getWindowDisplayWidth(), gViewerWindow->getWindowDisplayHeight()); | 251 | gViewerWindow->reshape(gViewerWindow->getWindowDisplayWidth(), gViewerWindow->getWindowDisplayHeight()); |
252 | } \ No newline at end of file | 252 | } |
diff --git a/linden/indra/newview/llviewermenu.cpp b/linden/indra/newview/llviewermenu.cpp index 4c6de79..c4cbf84 100644 --- a/linden/indra/newview/llviewermenu.cpp +++ b/linden/indra/newview/llviewermenu.cpp | |||
@@ -5073,6 +5073,10 @@ class LLShowFloater : public view_listener_t | |||
5073 | { | 5073 | { |
5074 | LLFloaterPreference::show(NULL); | 5074 | LLFloaterPreference::show(NULL); |
5075 | } | 5075 | } |
5076 | else if (floater_name == "toolbar") | ||
5077 | { | ||
5078 | LLToolBar::toggle(NULL); | ||
5079 | } | ||
5076 | else if (floater_name == "chat history") | 5080 | else if (floater_name == "chat history") |
5077 | { | 5081 | { |
5078 | LLFloaterChat::toggleInstance(LLSD()); | 5082 | LLFloaterChat::toggleInstance(LLSD()); |
@@ -5205,6 +5209,10 @@ class LLFloaterVisible : public view_listener_t | |||
5205 | { | 5209 | { |
5206 | new_value = LLFloaterMyFriends::instanceVisible(0); | 5210 | new_value = LLFloaterMyFriends::instanceVisible(0); |
5207 | } | 5211 | } |
5212 | else if (floater_name == "toolbar") | ||
5213 | { | ||
5214 | new_value = LLToolBar::visible(NULL); | ||
5215 | } | ||
5208 | else if (floater_name == "chat history") | 5216 | else if (floater_name == "chat history") |
5209 | { | 5217 | { |
5210 | new_value = LLFloaterChat::instanceVisible(); | 5218 | new_value = LLFloaterChat::instanceVisible(); |
@@ -7203,6 +7211,25 @@ class LLViewCheckRenderType : public view_listener_t | |||
7203 | } | 7211 | } |
7204 | }; | 7212 | }; |
7205 | 7213 | ||
7214 | class LLViewShowHUDAttachments : public view_listener_t | ||
7215 | { | ||
7216 | bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata) | ||
7217 | { | ||
7218 | LLPipeline::sShowHUDAttachments = !LLPipeline::sShowHUDAttachments; | ||
7219 | return true; | ||
7220 | } | ||
7221 | }; | ||
7222 | |||
7223 | class LLViewCheckHUDAttachments : public view_listener_t | ||
7224 | { | ||
7225 | bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata) | ||
7226 | { | ||
7227 | bool new_value = LLPipeline::sShowHUDAttachments; | ||
7228 | gMenuHolder->findControl(userdata["control"].asString())->setValue(new_value); | ||
7229 | return true; | ||
7230 | } | ||
7231 | }; | ||
7232 | |||
7206 | class LLEditEnableTakeOff : public view_listener_t | 7233 | class LLEditEnableTakeOff : public view_listener_t |
7207 | { | 7234 | { |
7208 | bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata) | 7235 | bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata) |
@@ -9657,6 +9684,7 @@ void initialize_menus() | |||
9657 | addMenu(new LLViewToggleBeacon(), "View.ToggleBeacon"); | 9684 | addMenu(new LLViewToggleBeacon(), "View.ToggleBeacon"); |
9658 | addMenu(new LLViewBeaconWidth(), "View.BeaconWidth"); | 9685 | addMenu(new LLViewBeaconWidth(), "View.BeaconWidth"); |
9659 | addMenu(new LLViewToggleRenderType(), "View.ToggleRenderType"); | 9686 | addMenu(new LLViewToggleRenderType(), "View.ToggleRenderType"); |
9687 | addMenu(new LLViewShowHUDAttachments(), "View.ShowHUDAttachments"); | ||
9660 | addMenu(new LLViewZoomOut(), "View.ZoomOut"); | 9688 | addMenu(new LLViewZoomOut(), "View.ZoomOut"); |
9661 | addMenu(new LLViewZoomIn(), "View.ZoomIn"); | 9689 | addMenu(new LLViewZoomIn(), "View.ZoomIn"); |
9662 | addMenu(new LLViewZoomDefault(), "View.ZoomDefault"); | 9690 | addMenu(new LLViewZoomDefault(), "View.ZoomDefault"); |
@@ -9671,6 +9699,7 @@ void initialize_menus() | |||
9671 | addMenu(new LLViewCheckHighlightTransparent(), "View.CheckHighlightTransparent"); | 9699 | addMenu(new LLViewCheckHighlightTransparent(), "View.CheckHighlightTransparent"); |
9672 | addMenu(new LLViewCheckBeaconEnabled(), "View.CheckBeaconEnabled"); | 9700 | addMenu(new LLViewCheckBeaconEnabled(), "View.CheckBeaconEnabled"); |
9673 | addMenu(new LLViewCheckRenderType(), "View.CheckRenderType"); | 9701 | addMenu(new LLViewCheckRenderType(), "View.CheckRenderType"); |
9702 | addMenu(new LLViewCheckHUDAttachments(), "View.CheckHUDAttachments"); | ||
9674 | 9703 | ||
9675 | // World menu | 9704 | // World menu |
9676 | addMenu(new LLWorldChat(), "World.Chat"); | 9705 | addMenu(new LLWorldChat(), "World.Chat"); |
diff --git a/linden/indra/newview/skins/default/xui/en-us/floater_inventory.xml b/linden/indra/newview/skins/default/xui/en-us/floater_inventory.xml index 590555f..3d1c569 100644 --- a/linden/indra/newview/skins/default/xui/en-us/floater_inventory.xml +++ b/linden/indra/newview/skins/default/xui/en-us/floater_inventory.xml | |||
@@ -61,6 +61,10 @@ | |||
61 | follows="left|top|right|bottom" height="431" label="Recent Items" | 61 | follows="left|top|right|bottom" height="431" label="Recent Items" |
62 | left_delta="0" mouse_opaque="true" name="Recent Items" | 62 | left_delta="0" mouse_opaque="true" name="Recent Items" |
63 | sort_order="RecentItemsSortOrder" width="461" /> | 63 | sort_order="RecentItemsSortOrder" width="461" /> |
64 | <inventory_panel allow_multi_select="true" border="true" bottom_delta="0" | ||
65 | follows="left|top|right|bottom" height="431" label="Worn Items" | ||
66 | left_delta="0" mouse_opaque="true" name="Worn Items" | ||
67 | sort_order="RecentItemsSortOrder" width="461" /> | ||
64 | </tab_container> | 68 | </tab_container> |
65 | 69 | ||
66 | <menu_bar bottom="-34" drop_shadow="false" follows="left|top|right" height="18" left="2" | 70 | <menu_bar bottom="-34" drop_shadow="false" follows="left|top|right" height="18" left="2" |
diff --git a/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml b/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml index a741b94..2d5402b 100644 --- a/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml +++ b/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml | |||
@@ -281,6 +281,10 @@ | |||
281 | <on_click function="ShowFloater" userdata="inworld browser" /> | 281 | <on_click function="ShowFloater" userdata="inworld browser" /> |
282 | </menu_item_call> | 282 | </menu_item_call> |
283 | <menu_item_separator /> | 283 | <menu_item_separator /> |
284 | <menu_item_check name="Toolbar" label="Toolbar"> | ||
285 | <on_click function="ShowFloater" userdata="toolbar" /> | ||
286 | <on_check function="FloaterVisible" userdata="toolbar" /> | ||
287 | </menu_item_check> | ||
284 | <menu_item_check name="Chat History" label="Local Chat" | 288 | <menu_item_check name="Chat History" label="Local Chat" |
285 | shortcut="control|H"> | 289 | shortcut="control|H"> |
286 | <on_click function="ShowFloater" userdata="chat history" /> | 290 | <on_click function="ShowFloater" userdata="chat history" /> |
@@ -1124,6 +1128,13 @@ | |||
1124 | <on_check function="Advanced.CheckFeature" | 1128 | <on_check function="Advanced.CheckFeature" |
1125 | userdata="flexible" /> | 1129 | userdata="flexible" /> |
1126 | </menu_item_check> | 1130 | </menu_item_check> |
1131 | <menu_item_check name="HUD Attachments" | ||
1132 | label="HUD Attachments" | ||
1133 | shortcut=""> | ||
1134 | <on_click function="View.ShowHUDAttachments" userdata="" /> | ||
1135 | <on_check function="View.CheckHUDAttachments" /> | ||
1136 | </menu_item_check> | ||
1137 | |||
1127 | </menu> | 1138 | </menu> |
1128 | 1139 | ||
1129 | 1140 | ||
@@ -1603,7 +1614,7 @@ | |||
1603 | </menu_item_call> | 1614 | </menu_item_call> |
1604 | <menu_item_check name="Show XUI Names" | 1615 | <menu_item_check name="Show XUI Names" |
1605 | label="Show XUI Names" | 1616 | label="Show XUI Names" |
1606 | shortcut="control|shift|x"> | 1617 | shortcut=""> |
1607 | <on_click function="Advanced.ToggleXUINames" | 1618 | <on_click function="Advanced.ToggleXUINames" |
1608 | userdata="" /> | 1619 | userdata="" /> |
1609 | <on_check function="Advanced.CheckXUINames" | 1620 | <on_check function="Advanced.CheckXUINames" |