Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
aada85e5
Commit
aada85e5
authored
10 years ago
by
Merov Linden
Browse files
Options
Downloads
Patches
Plain Diff
DD-63 : Suppress the filtering options in the marketplace option submenu. Redundants with tabs
parent
a4f6fc8e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
indra/newview/llfloatermarketplacelistings.cpp
+0
-32
0 additions, 32 deletions
indra/newview/llfloatermarketplacelistings.cpp
indra/newview/skins/default/xui/en/menu_marketplace_view.xml
+0
-33
0 additions, 33 deletions
indra/newview/skins/default/xui/en/menu_marketplace_view.xml
with
0 additions
and
65 deletions
indra/newview/llfloatermarketplacelistings.cpp
+
0
−
32
View file @
aada85e5
...
@@ -117,30 +117,6 @@ void LLPanelMarketplaceListings::onViewSortMenuItemClicked(const LLSD& userdata)
...
@@ -117,30 +117,6 @@ void LLPanelMarketplaceListings::onViewSortMenuItemClicked(const LLSD& userdata)
mSortOrder
=
(
mSortOrder
==
LLInventoryFilter
::
SO_FOLDERS_BY_NAME
?
LLInventoryFilter
::
SO_FOLDERS_BY_WEIGHT
:
LLInventoryFilter
::
SO_FOLDERS_BY_NAME
);
mSortOrder
=
(
mSortOrder
==
LLInventoryFilter
::
SO_FOLDERS_BY_NAME
?
LLInventoryFilter
::
SO_FOLDERS_BY_WEIGHT
:
LLInventoryFilter
::
SO_FOLDERS_BY_NAME
);
mAllPanel
->
setSortOrder
(
mSortOrder
);
mAllPanel
->
setSortOrder
(
mSortOrder
);
}
}
// View/filter options
else
if
(
chosen_item
==
"show_all"
)
{
mFilterType
=
LLInventoryFilter
::
FILTERTYPE_NONE
;
mAllPanel
->
getFilter
().
resetDefault
();
}
else
if
(
chosen_item
==
"show_unassociated"
)
{
mFilterType
=
LLInventoryFilter
::
FILTERTYPE_MARKETPLACE_UNASSOCIATED
;
mAllPanel
->
getFilter
().
resetDefault
();
mAllPanel
->
getFilter
().
setFilterMarketplaceUnassociatedFolders
();
}
else
if
(
chosen_item
==
"show_active"
)
{
mFilterType
=
LLInventoryFilter
::
FILTERTYPE_MARKETPLACE_ACTIVE
;
mAllPanel
->
getFilter
().
resetDefault
();
mAllPanel
->
getFilter
().
setFilterMarketplaceActiveFolders
();
}
else
if
(
chosen_item
==
"show_inactive"
)
{
mFilterType
=
LLInventoryFilter
::
FILTERTYPE_MARKETPLACE_INACTIVE
;
mAllPanel
->
getFilter
().
resetDefault
();
mAllPanel
->
getFilter
().
setFilterMarketplaceInactiveFolders
();
}
}
}
bool
LLPanelMarketplaceListings
::
onViewSortMenuItemCheck
(
const
LLSD
&
userdata
)
bool
LLPanelMarketplaceListings
::
onViewSortMenuItemCheck
(
const
LLSD
&
userdata
)
...
@@ -149,14 +125,6 @@ bool LLPanelMarketplaceListings::onViewSortMenuItemCheck(const LLSD& userdata)
...
@@ -149,14 +125,6 @@ bool LLPanelMarketplaceListings::onViewSortMenuItemCheck(const LLSD& userdata)
if
(
chosen_item
==
"sort_by_stock_amount"
)
if
(
chosen_item
==
"sort_by_stock_amount"
)
return
mSortOrder
==
LLInventoryFilter
::
SO_FOLDERS_BY_WEIGHT
;
return
mSortOrder
==
LLInventoryFilter
::
SO_FOLDERS_BY_WEIGHT
;
if
(
chosen_item
==
"show_all"
)
return
mFilterType
==
LLInventoryFilter
::
FILTERTYPE_NONE
;
if
(
chosen_item
==
"show_unassociated"
)
return
mFilterType
==
LLInventoryFilter
::
FILTERTYPE_MARKETPLACE_UNASSOCIATED
;
if
(
chosen_item
==
"show_active"
)
return
mFilterType
==
LLInventoryFilter
::
FILTERTYPE_MARKETPLACE_ACTIVE
;
if
(
chosen_item
==
"show_inactive"
)
return
mFilterType
==
LLInventoryFilter
::
FILTERTYPE_MARKETPLACE_INACTIVE
;
return
false
;
return
false
;
}
}
...
...
This diff is collapsed.
Click to expand it.
indra/newview/skins/default/xui/en/menu_marketplace_view.xml
+
0
−
33
View file @
aada85e5
...
@@ -13,37 +13,4 @@
...
@@ -13,37 +13,4 @@
function=
"Marketplace.ViewSort.CheckItem"
function=
"Marketplace.ViewSort.CheckItem"
parameter=
"sort_by_stock_amount"
/>
parameter=
"sort_by_stock_amount"
/>
</menu_item_check>
</menu_item_check>
<menu_item_separator
layout=
"topleft"
/>
<menu_item_check
name=
"show_all"
label=
"Show All"
>
<menu_item_check.on_click
function=
"Marketplace.ViewSort.Action"
parameter=
"show_all"
/>
<menu_item_check.on_check
function=
"Marketplace.ViewSort.CheckItem"
parameter=
"show_all"
/>
</menu_item_check>
<menu_item_check
name=
"show_unassociated"
label=
"Show Unassociated Listings Only"
>
<menu_item_check.on_click
function=
"Marketplace.ViewSort.Action"
parameter=
"show_unassociated"
/>
<menu_item_check.on_check
function=
"Marketplace.ViewSort.CheckItem"
parameter=
"show_unassociated"
/>
</menu_item_check>
<menu_item_check
name=
"show_active"
label=
"Show Active Listings Only"
>
<menu_item_check.on_click
function=
"Marketplace.ViewSort.Action"
parameter=
"show_active"
/>
<menu_item_check.on_check
function=
"Marketplace.ViewSort.CheckItem"
parameter=
"show_active"
/>
</menu_item_check>
<menu_item_check
name=
"show_inactive"
label=
"Show Inactive Listings Only"
>
<menu_item_check.on_click
function=
"Marketplace.ViewSort.Action"
parameter=
"show_inactive"
/>
<menu_item_check.on_check
function=
"Marketplace.ViewSort.CheckItem"
parameter=
"show_inactive"
/>
</menu_item_check>
</toggleable_menu>
</toggleable_menu>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment