diff options
author | McCabe Maxsted | 2009-01-21 18:45:08 -0700 |
---|---|---|
committer | McCabe Maxsted | 2009-01-21 18:45:08 -0700 |
commit | 5ba642526c3343eddf120b3cfbf3bdb23c1fdf95 (patch) | |
tree | e0f79432d6b7ca8e5ecbe9d995c8d9f771404089 /linden/indra/newview/llviewermenu.cpp | |
parent | merged in jacek's fixes for inv icons (diff) | |
download | meta-impy-5ba642526c3343eddf120b3cfbf3bdb23c1fdf95.zip meta-impy-5ba642526c3343eddf120b3cfbf3bdb23c1fdf95.tar.gz meta-impy-5ba642526c3343eddf120b3cfbf3bdb23c1fdf95.tar.bz2 meta-impy-5ba642526c3343eddf120b3cfbf3bdb23c1fdf95.tar.xz |
Fixed browser layout, toggling; removed legacy browser code
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llviewermenu.cpp | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/linden/indra/newview/llviewermenu.cpp b/linden/indra/newview/llviewermenu.cpp index d607afe..4c6de79 100644 --- a/linden/indra/newview/llviewermenu.cpp +++ b/linden/indra/newview/llviewermenu.cpp | |||
@@ -105,7 +105,6 @@ | |||
105 | #include "llfloatergroupinfo.h" | 105 | #include "llfloatergroupinfo.h" |
106 | #include "llfloatergroupinvite.h" | 106 | #include "llfloatergroupinvite.h" |
107 | #include "llfloatergroups.h" | 107 | #include "llfloatergroups.h" |
108 | #include "llfloaterhtml.h" | ||
109 | #include "llfloaterhtmlhelp.h" | 108 | #include "llfloaterhtmlhelp.h" |
110 | #include "llfloaterhud.h" | 109 | #include "llfloaterhud.h" |
111 | #include "llfloaterinspect.h" | 110 | #include "llfloaterinspect.h" |
@@ -5146,7 +5145,7 @@ class LLShowFloater : public view_listener_t | |||
5146 | } | 5145 | } |
5147 | else if (floater_name == "help f1") | 5146 | else if (floater_name == "help f1") |
5148 | { | 5147 | { |
5149 | gViewerHtmlHelp.show(); | 5148 | LLFloaterMediaBrowser::helpF1(); |
5150 | } | 5149 | } |
5151 | else if (floater_name == "help tutorial") | 5150 | else if (floater_name == "help tutorial") |
5152 | { | 5151 | { |
@@ -5189,7 +5188,7 @@ class LLShowFloater : public view_listener_t | |||
5189 | } | 5188 | } |
5190 | else if (floater_name == "inworld browser") | 5189 | else if (floater_name == "inworld browser") |
5191 | { | 5190 | { |
5192 | LLFloaterMediaBrowser::show(); | 5191 | LLFloaterMediaBrowser::toggle(); |
5193 | } | 5192 | } |
5194 | return true; | 5193 | return true; |
5195 | } | 5194 | } |
@@ -6968,13 +6967,8 @@ void handle_load_from_xml(void*) | |||
6968 | 6967 | ||
6969 | void handle_slurl_test(void*) | 6968 | void handle_slurl_test(void*) |
6970 | { | 6969 | { |
6971 | const bool open_links_externally = false; | 6970 | std::string test_slurl = "http://secondlife.com/app/search/slurls.html"; |
6972 | const bool open_app_slurls = true; | 6971 | LLFloaterMediaBrowser::showInstance(test_slurl); |
6973 | LLFloaterHtml::getInstance()->show( | ||
6974 | "http://secondlife.com/app/search/slurls.html", | ||
6975 | "SLURL Test", | ||
6976 | open_links_externally, | ||
6977 | open_app_slurls); | ||
6978 | } | 6972 | } |
6979 | 6973 | ||
6980 | void handle_rebake_textures(void*) | 6974 | void handle_rebake_textures(void*) |