diff options
author | Lynx Linden <lynx@lindenlab.com> | 2010-02-01 18:11:52 +0000 |
---|---|---|
committer | Lynx Linden <lynx@lindenlab.com> | 2010-02-01 18:11:52 +0000 |
commit | 5d7c376332b090801b503d8dc154bb67771230d8 (patch) | |
tree | 24435fc8f74b331277afe9cafc60d7e7dcfccabf /indra/newview/llfloaterhelpbrowser.cpp | |
parent | a8f42e51903bfc35dc56c4dc5f050d1570110634 (diff) | |
parent | 52d80701bbf38921e68f0df8d989cc9f31867a41 (diff) |
Automated merge with ssh://hg.lindenlab.com/viewer/viewer-2-0/
Diffstat (limited to 'indra/newview/llfloaterhelpbrowser.cpp')
-rw-r--r-- | indra/newview/llfloaterhelpbrowser.cpp | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/indra/newview/llfloaterhelpbrowser.cpp b/indra/newview/llfloaterhelpbrowser.cpp index 2e0ae3265e..f3c6b286ab 100644 --- a/indra/newview/llfloaterhelpbrowser.cpp +++ b/indra/newview/llfloaterhelpbrowser.cpp @@ -85,13 +85,22 @@ void LLFloaterHelpBrowser::onClose(bool app_quitting) void LLFloaterHelpBrowser::handleMediaEvent(LLPluginClassMedia* self, EMediaEvent event) { - if(event == MEDIA_EVENT_LOCATION_CHANGED) + switch (event) { + case MEDIA_EVENT_LOCATION_CHANGED: setCurrentURL(self->getLocation()); - } - else if(event == MEDIA_EVENT_NAVIGATE_COMPLETE) - { - // nothing yet + break; + + case MEDIA_EVENT_NAVIGATE_BEGIN: + childSetText("status_text", getString("loading_text")); + break; + + case MEDIA_EVENT_NAVIGATE_COMPLETE: + childSetText("status_text", getString("done_text")); + break; + + default: + break; } } |