Fix XUI parser warnings
parent
a33e37cbd1
commit
f9e7f78787
|
|
@ -47,8 +47,10 @@ void LLFloaterMarketplace::onClose(bool app_quitting)
|
||||||
bool LLFloaterMarketplace::postBuild()
|
bool LLFloaterMarketplace::postBuild()
|
||||||
{
|
{
|
||||||
LLFloaterWebContent::postBuild();
|
LLFloaterWebContent::postBuild();
|
||||||
mWebBrowser = getChild<LLMediaCtrl>("marketplace_contents");
|
// <FS:Ansariel> Already set in LLFloaterWebContent
|
||||||
mWebBrowser->addObserver(this);
|
//mWebBrowser = getChild<LLMediaCtrl>("marketplace_contents");
|
||||||
|
//mWebBrowser->addObserver(this);
|
||||||
|
// </FS:Ansariel>
|
||||||
mWebBrowser->setErrorPageURL(gSavedSettings.getString("GenericErrorPageURL"));
|
mWebBrowser->setErrorPageURL(gSavedSettings.getString("GenericErrorPageURL"));
|
||||||
std::string url = gSavedSettings.getString("MarketplaceURL");
|
std::string url = gSavedSettings.getString("MarketplaceURL");
|
||||||
mWebBrowser->navigateTo(url, HTTP_CONTENT_TEXT_HTML);
|
mWebBrowser->navigateTo(url, HTTP_CONTENT_TEXT_HTML);
|
||||||
|
|
|
||||||
|
|
@ -10,5 +10,17 @@
|
||||||
<icon name="media_secure_lock_flag" tool_tip="Sicheres Browsen"/>
|
<icon name="media_secure_lock_flag" tool_tip="Sicheres Browsen"/>
|
||||||
<button name="popexternal" tool_tip="Aktuelle URL im Desktop-Browser öffnen"/>
|
<button name="popexternal" tool_tip="Aktuelle URL im Desktop-Browser öffnen"/>
|
||||||
</layout_panel>
|
</layout_panel>
|
||||||
|
<layout_panel name="external_controls">
|
||||||
|
<text name="plugin_fail_text">
|
||||||
|
Das Web-Browser-Plugin lädt gerade.
|
||||||
|
Sollte das Plugin nicht laden, sind Informationen zur Problemlösung erhältlich unter
|
||||||
|
|
||||||
|
https://wiki.firestormviewer.org/fs_search_issues
|
||||||
|
|
||||||
|
und
|
||||||
|
|
||||||
|
https://wiki.firestormviewer.org/fs_media
|
||||||
|
</text>
|
||||||
|
</layout_panel>
|
||||||
</layout_stack>
|
</layout_stack>
|
||||||
</floater>
|
</floater>
|
||||||
|
|
|
||||||
|
|
@ -164,12 +164,32 @@
|
||||||
top_delta="0"
|
top_delta="0"
|
||||||
auto_resize="true"
|
auto_resize="true"
|
||||||
width="585">
|
width="585">
|
||||||
|
<text
|
||||||
|
name="plugin_fail_text"
|
||||||
|
follows="all"
|
||||||
|
layout="topleft"
|
||||||
|
left="60"
|
||||||
|
top="60"
|
||||||
|
right="-60"
|
||||||
|
bottom="-60"
|
||||||
|
wrap="true">
|
||||||
|
The web browser plugin seems to be taking a while to open.
|
||||||
|
If the plugin never loads, please visit:
|
||||||
|
|
||||||
|
https://wiki.firestormviewer.org/fs_search_issues
|
||||||
|
|
||||||
|
and
|
||||||
|
|
||||||
|
https://wiki.firestormviewer.org/fs_media
|
||||||
|
|
||||||
|
for possible steps to resolve this issue.
|
||||||
|
</text>
|
||||||
<web_browser
|
<web_browser
|
||||||
bottom="-2"
|
bottom="-2"
|
||||||
follows="all"
|
follows="all"
|
||||||
layout="topleft"
|
layout="topleft"
|
||||||
left="0"
|
left="0"
|
||||||
name="marketplace_contents"
|
name="webbrowser"
|
||||||
top="0"/>
|
top="0"/>
|
||||||
</layout_panel>
|
</layout_panel>
|
||||||
<layout_panel name="status_bar"
|
<layout_panel name="status_bar"
|
||||||
|
|
|
||||||
|
|
@ -326,7 +326,7 @@
|
||||||
left_pad="10"
|
left_pad="10"
|
||||||
top_delta="-4"
|
top_delta="-4"
|
||||||
name="mouse_warp_combo"
|
name="mouse_warp_combo"
|
||||||
tooltip="Controls warping of the mouse to the center of the screen during alt-zoom and mouse look."
|
tool_tip="Controls warping of the mouse to the center of the screen during alt-zoom and mouse look."
|
||||||
width="100">
|
width="100">
|
||||||
<combo_box.item
|
<combo_box.item
|
||||||
label="Automatic"
|
label="Automatic"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue