diff options
author | McCabe Maxsted | 2009-11-09 16:12:41 -0700 |
---|---|---|
committer | McCabe Maxsted | 2009-11-09 16:12:41 -0700 |
commit | 1a51eb10fcc2591f8a6a1f3ab932665268e131bd (patch) | |
tree | 506cf284b5f2cb0f0a543bd588147de88f10f41d /linden | |
parent | Updated asset browser from old font system (diff) | |
download | meta-impy-1a51eb10fcc2591f8a6a1f3ab932665268e131bd.zip meta-impy-1a51eb10fcc2591f8a6a1f3ab932665268e131bd.tar.gz meta-impy-1a51eb10fcc2591f8a6a1f3ab932665268e131bd.tar.bz2 meta-impy-1a51eb10fcc2591f8a6a1f3ab932665268e131bd.tar.xz |
Removed unused menu entries (still merging 1.23)
Diffstat (limited to 'linden')
-rw-r--r-- | linden/indra/newview/llviewermenu.cpp | 37 | ||||
-rw-r--r-- | linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml | 9 |
2 files changed, 10 insertions, 36 deletions
diff --git a/linden/indra/newview/llviewermenu.cpp b/linden/indra/newview/llviewermenu.cpp index 63ea2e8..a0df6b5 100644 --- a/linden/indra/newview/llviewermenu.cpp +++ b/linden/indra/newview/llviewermenu.cpp | |||
@@ -1068,7 +1068,6 @@ void init_debug_ui_menu(LLMenuGL* menu) | |||
1068 | menu->append(new LLMenuItemCheckGL("Show search panel in overlay bar", menu_toggle_control, NULL, menu_check_control, (void*)"ShowSearchBar")); | 1068 | menu->append(new LLMenuItemCheckGL("Show search panel in overlay bar", menu_toggle_control, NULL, menu_check_control, (void*)"ShowSearchBar")); |
1069 | menu->appendSeparator(); | 1069 | menu->appendSeparator(); |
1070 | 1070 | ||
1071 | // For Imprudence 1.3 - need to XUIfy | ||
1072 | menu->append(new LLMenuItemCallGL("Web Browser Test", &handle_web_browser_test)); | 1071 | menu->append(new LLMenuItemCallGL("Web Browser Test", &handle_web_browser_test)); |
1073 | // For Imprudence 1.3 - need to XUIfy | 1072 | // For Imprudence 1.3 - need to XUIfy |
1074 | // commented out until work is complete: DEV-32268 | 1073 | // commented out until work is complete: DEV-32268 |
@@ -2443,11 +2442,11 @@ bool handle_go_to_confirm() | |||
2443 | 2442 | ||
2444 | if (action == "teleport") | 2443 | if (action == "teleport") |
2445 | { | 2444 | { |
2446 | LLNotifications::instance().add("ConfirmDoubleClickTP", , LLSD(), LLSD(), &handle_go_to_callback); | 2445 | LLNotifications::instance().add("ConfirmDoubleClickTP", LLSD(), LLSD(), &handle_go_to_callback); |
2447 | } | 2446 | } |
2448 | else if (action == "autopilot") | 2447 | else if (action == "autopilot") |
2449 | { | 2448 | { |
2450 | LLNotifications::instance().add("ConfirmAutoPilot", , LLSD(), LLSD(), &handle_go_to_callback); | 2449 | LLNotifications::instance().add("ConfirmAutoPilot", LLSD(), LLSD(), &handle_go_to_callback); |
2451 | } | 2450 | } |
2452 | return true; | 2451 | return true; |
2453 | } | 2452 | } |
@@ -9124,16 +9123,16 @@ class LLAdvancedDumpRegionObjectCache : public view_listener_t | |||
9124 | 9123 | ||
9125 | 9124 | ||
9126 | 9125 | ||
9127 | //////////////// | 9126 | ////////////////////// |
9128 | // SLURL TEST // | 9127 | // WEB BROWSER TEST // |
9129 | //////////////// | 9128 | ////////////////////// |
9130 | 9129 | ||
9131 | 9130 | ||
9132 | class LLAdvancedSLURLTest : public view_listener_t | 9131 | class LLAdvancedWebBrowserTest : public view_listener_t |
9133 | { | 9132 | { |
9134 | bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata) | 9133 | bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata) |
9135 | { | 9134 | { |
9136 | handle_slurl_test(NULL); | 9135 | handle_web_browser_test(NULL); |
9137 | return true; | 9136 | return true; |
9138 | } | 9137 | } |
9139 | }; | 9138 | }; |
@@ -10387,24 +10386,6 @@ class LLAdvancedCompressImage : public view_listener_t | |||
10387 | 10386 | ||
10388 | 10387 | ||
10389 | 10388 | ||
10390 | ////////////////////// | ||
10391 | // CLOTHING FLOATER // | ||
10392 | ////////////////////// | ||
10393 | |||
10394 | |||
10395 | class LLAdvancedToggleClothingFloater : public view_listener_t | ||
10396 | { | ||
10397 | bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata) | ||
10398 | { | ||
10399 | handle_clothing(NULL); | ||
10400 | return true; | ||
10401 | } | ||
10402 | }; | ||
10403 | |||
10404 | // There is no LLAdvancedCheckClothingFloater. | ||
10405 | |||
10406 | |||
10407 | |||
10408 | ///////////////////////// | 10389 | ///////////////////////// |
10409 | // SHOW DEBUG SETTINGS // | 10390 | // SHOW DEBUG SETTINGS // |
10410 | ///////////////////////// | 10391 | ///////////////////////// |
@@ -10628,7 +10609,6 @@ void initialize_menus() | |||
10628 | addMenu(new LLZoomer(1/1.2f), "View.ZoomIn"); | 10609 | addMenu(new LLZoomer(1/1.2f), "View.ZoomIn"); |
10629 | addMenu(new LLZoomer(DEFAULT_FIELD_OF_VIEW, false), "View.ZoomDefault"); | 10610 | addMenu(new LLZoomer(DEFAULT_FIELD_OF_VIEW, false), "View.ZoomDefault"); |
10630 | addMenu(new LLViewFullscreen(), "View.Fullscreen"); | 10611 | addMenu(new LLViewFullscreen(), "View.Fullscreen"); |
10631 | addMenu(new LLViewDefaultUISize(), "View.DefaultUISize"); //unused - now in preferences > general -- McCabe | ||
10632 | 10612 | ||
10633 | addMenu(new LLViewEnableMouselook(), "View.EnableMouselook"); | 10613 | addMenu(new LLViewEnableMouselook(), "View.EnableMouselook"); |
10634 | addMenu(new LLViewEnableJoystickFlycam(), "View.EnableJoystickFlycam"); | 10614 | addMenu(new LLViewEnableJoystickFlycam(), "View.EnableJoystickFlycam"); |
@@ -10854,7 +10834,7 @@ void initialize_menus() | |||
10854 | addMenu(new LLAdvancedDumpRegionObjectCache(), "Advanced.DumpRegionObjectCache"); | 10834 | addMenu(new LLAdvancedDumpRegionObjectCache(), "Advanced.DumpRegionObjectCache"); |
10855 | 10835 | ||
10856 | // Advanced > UI | 10836 | // Advanced > UI |
10857 | addMenu(new LLAdvancedSLURLTest(), "Advanced.SLURLTest"); | 10837 | addMenu(new LLAdvancedWebBrowserTest(), "Advanced.WebBrowserTest"); |
10858 | addMenu(new LLAdvancedToggleEditableUI(), "Advanced.ToggleEditableUI"); | 10838 | addMenu(new LLAdvancedToggleEditableUI(), "Advanced.ToggleEditableUI"); |
10859 | //addMenu(new LLAdvancedCheckEditableUI(), "Advanced.CheckEditableUI"); | 10839 | //addMenu(new LLAdvancedCheckEditableUI(), "Advanced.CheckEditableUI"); |
10860 | addMenu(new LLAdvancedDumpSelectMgr(), "Advanced.DumpSelectMgr"); | 10840 | addMenu(new LLAdvancedDumpSelectMgr(), "Advanced.DumpSelectMgr"); |
@@ -10950,7 +10930,6 @@ void initialize_menus() | |||
10950 | addMenu(new LLAdvancedToggleShowObjectUpdates(), "Advanced.ToggleShowObjectUpdates"); | 10930 | addMenu(new LLAdvancedToggleShowObjectUpdates(), "Advanced.ToggleShowObjectUpdates"); |
10951 | addMenu(new LLAdvancedCheckShowObjectUpdates(), "Advanced.CheckShowObjectUpdates"); | 10931 | addMenu(new LLAdvancedCheckShowObjectUpdates(), "Advanced.CheckShowObjectUpdates"); |
10952 | addMenu(new LLAdvancedCompressImage(), "Advanced.CompressImage"); | 10932 | addMenu(new LLAdvancedCompressImage(), "Advanced.CompressImage"); |
10953 | addMenu(new LLAdvancedToggleClothingFloater(), "Advanced.ToggleClothingFloater"); | ||
10954 | addMenu(new LLAdvancedShowDebugSettings(), "Advanced.ShowDebugSettings"); | 10933 | addMenu(new LLAdvancedShowDebugSettings(), "Advanced.ShowDebugSettings"); |
10955 | addMenu(new LLAdvancedToggleViewAdminOptions(), "Advanced.ToggleViewAdminOptions"); | 10934 | addMenu(new LLAdvancedToggleViewAdminOptions(), "Advanced.ToggleViewAdminOptions"); |
10956 | addMenu(new LLAdvancedCheckViewAdminOptions(), "Advanced.CheckViewAdminOptions"); | 10935 | addMenu(new LLAdvancedCheckViewAdminOptions(), "Advanced.CheckViewAdminOptions"); |
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 3db4084..deea05d 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 | |||
@@ -1476,8 +1476,8 @@ | |||
1476 | <menu name="UI" drop_shadow="true" | 1476 | <menu name="UI" drop_shadow="true" |
1477 | opaque="true" tear_off="true"> | 1477 | opaque="true" tear_off="true"> |
1478 | 1478 | ||
1479 | <menu_item_call name="SLURL Test" label="SLURL Test"> | 1479 | <menu_item_call name="Web Browser Test" label="Web Browser Test"> |
1480 | <on_click function="Advanced.SLURLTest" userdata="" /> | 1480 | <on_click function="Advanced.WebBrowserTest" userdata="" /> |
1481 | </menu_item_call> | 1481 | </menu_item_call> |
1482 | 1482 | ||
1483 | <!-- | 1483 | <!-- |
@@ -2002,11 +2002,6 @@ | |||
2002 | userdata="SaveMinidump" /> | 2002 | userdata="SaveMinidump" /> |
2003 | <on_check control="SaveMinidump" /> | 2003 | <on_check control="SaveMinidump" /> |
2004 | </menu_item_check> | 2004 | </menu_item_check> |
2005 | <menu_item_check name="Clothing..." | ||
2006 | label="Clothing..."> | ||
2007 | <on_click function="Advanced.ToggleClothingFloater" | ||
2008 | userdata="" /> | ||
2009 | </menu_item_check> | ||
2010 | <menu_item_check name="Allow Multiple Instances" | 2005 | <menu_item_check name="Allow Multiple Instances" |
2011 | label="Allow Multiple Instances"> | 2006 | label="Allow Multiple Instances"> |
2012 | <on_click function="Advanced.ToggleMultipleViewers" | 2007 | <on_click function="Advanced.ToggleMultipleViewers" |