diff options
author | gabriel lee <gabriel@lindenlab.com> | 2010-02-02 10:58:47 +0000 |
---|---|---|
committer | gabriel lee <gabriel@lindenlab.com> | 2010-02-02 10:58:47 +0000 |
commit | 95d0df4ab05c4cfcc78f684ab28d36b9cc84410e (patch) | |
tree | b1621cd22044edade98019af9d1b77383e3b88ef /indra/newview/llfloaterhelpbrowser.cpp | |
parent | 5dfdb0d5a41143512180390193ce79644bcb9469 (diff) | |
parent | 4ad357ec70e15afdfe78816990cb23c7ba17619c (diff) |
merged back my last changes
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; } } |