From 0bec080221e1002ef30b01215f7cdafd552c08f2 Mon Sep 17 00:00:00 2001 From: gwigz Date: Tue, 8 Oct 2024 18:48:54 +0100 Subject: Minimal favorite folder inventory feature Utilizes the recent-ish "open in new window" functionality from `LLPanelMainInventory::newFolderWindow` --- indra/newview/skins/default/textures/textures.xml | 1 + .../default/textures/toolbar_icons/favorite_folder.png | Bin 0 -> 572 bytes .../skins/default/xui/en/menu_gallery_inventory.xml | 10 ++++++++++ indra/newview/skins/default/xui/en/menu_inventory.xml | 7 +++++++ indra/newview/skins/default/xui/en/menu_viewer.xml | 7 +++++++ indra/newview/skins/default/xui/en/notifications.xml | 12 ++++++++++++ indra/newview/skins/default/xui/en/strings.xml | 2 ++ 7 files changed, 39 insertions(+) create mode 100644 indra/newview/skins/default/textures/toolbar_icons/favorite_folder.png (limited to 'indra/newview/skins') diff --git a/indra/newview/skins/default/textures/textures.xml b/indra/newview/skins/default/textures/textures.xml index 11eafcb45d..4763396d50 100644 --- a/indra/newview/skins/default/textures/textures.xml +++ b/indra/newview/skins/default/textures/textures.xml @@ -162,6 +162,7 @@ with the same filename but different name + diff --git a/indra/newview/skins/default/textures/toolbar_icons/favorite_folder.png b/indra/newview/skins/default/textures/toolbar_icons/favorite_folder.png new file mode 100644 index 0000000000..811efffc0b Binary files /dev/null and b/indra/newview/skins/default/textures/toolbar_icons/favorite_folder.png differ diff --git a/indra/newview/skins/default/xui/en/menu_gallery_inventory.xml b/indra/newview/skins/default/xui/en/menu_gallery_inventory.xml index 16907d3577..99f84fe808 100644 --- a/indra/newview/skins/default/xui/en/menu_gallery_inventory.xml +++ b/indra/newview/skins/default/xui/en/menu_gallery_inventory.xml @@ -715,6 +715,16 @@ function="Inventory.CanSetUploadLocation" /> + + + + diff --git a/indra/newview/skins/default/xui/en/menu_inventory.xml b/indra/newview/skins/default/xui/en/menu_inventory.xml index d8aac71dd5..a72f610abb 100644 --- a/indra/newview/skins/default/xui/en/menu_inventory.xml +++ b/indra/newview/skins/default/xui/en/menu_inventory.xml @@ -996,6 +996,13 @@ parameter="pbr_material" /> + + + diff --git a/indra/newview/skins/default/xui/en/menu_viewer.xml b/indra/newview/skins/default/xui/en/menu_viewer.xml index 911f61f346..5789b113c1 100644 --- a/indra/newview/skins/default/xui/en/menu_viewer.xml +++ b/indra/newview/skins/default/xui/en/menu_viewer.xml @@ -36,6 +36,13 @@ function="Inventory.NewWindow" parameter="" /> + + + + +Favorite folder is missing. + +Select the "use as favorite folder" from a folder's menu to set it as the favorite folder. + fail + + diff --git a/indra/newview/skins/default/xui/en/strings.xml b/indra/newview/skins/default/xui/en/strings.xml index 232586636b..25779ca2c6 100644 --- a/indra/newview/skins/default/xui/en/strings.xml +++ b/indra/newview/skins/default/xui/en/strings.xml @@ -4212,6 +4212,7 @@ name="Command_360_Capture_Label">360 snapshot Speak Camera controls Voice settings + Favorite folder Capture a 360 equirectangular image @@ -4245,6 +4246,7 @@ name="Command_360_Capture_Tooltip">Capture a 360 equirectangular image Speak with people nearby using your microphone Changing camera angle Volume controls for calls and people near you in world + Open your favorite inventory folder currently in your bottom toolbar currently in your left toolbar -- cgit v1.2.3