diff options
author | McCabe Maxsted | 2010-11-23 17:35:02 -0700 |
---|---|---|
committer | McCabe Maxsted | 2010-11-23 17:35:02 -0700 |
commit | 586033356804aac255b2d199672b3be4e6b6077a (patch) | |
tree | 26e6fdd6562bc2398913fa6c1feafed0e8298c9b | |
parent | Fixed group list not updating when the group profile is changed (#644) (diff) | |
parent | fix: Bug #721: Search lags (diff) | |
download | meta-impy-586033356804aac255b2d199672b3be4e6b6077a.zip meta-impy-586033356804aac255b2d199672b3be4e6b6077a.tar.gz meta-impy-586033356804aac255b2d199672b3be4e6b6077a.tar.bz2 meta-impy-586033356804aac255b2d199672b3be4e6b6077a.tar.xz |
Merge remote branch 'armin/weekly' into weekly
-rw-r--r-- | linden/indra/newview/llfloaterdirectory.cpp | 4 | ||||
-rw-r--r-- | linden/indra/newview/llpanelavatar.cpp | 11 | ||||
-rw-r--r-- | linden/indra/newview/llpanelavatar.h | 4 | ||||
-rw-r--r-- | linden/indra/newview/llpaneldirfind.cpp | 8 | ||||
-rwxr-xr-x | linden/install.xml | 7 |
5 files changed, 31 insertions, 3 deletions
diff --git a/linden/indra/newview/llfloaterdirectory.cpp b/linden/indra/newview/llfloaterdirectory.cpp index 8018c31..7c8ddf1 100644 --- a/linden/indra/newview/llfloaterdirectory.cpp +++ b/linden/indra/newview/llfloaterdirectory.cpp | |||
@@ -466,7 +466,9 @@ void LLFloaterDirectory::setVisible(BOOL visible) | |||
466 | 466 | ||
467 | void LLFloaterDirectory::onClose(bool app_quitting) | 467 | void LLFloaterDirectory::onClose(bool app_quitting) |
468 | { | 468 | { |
469 | setVisible(FALSE); | 469 | LLFloater::onClose(app_quitting); |
470 | |||
471 | //setVisible(FALSE); //meaning you hide 3 web browsers - one SLPlugin each | ||
470 | } | 472 | } |
471 | 473 | ||
472 | // static | 474 | // static |
diff --git a/linden/indra/newview/llpanelavatar.cpp b/linden/indra/newview/llpanelavatar.cpp index e47ae2a..6110e44 100644 --- a/linden/indra/newview/llpanelavatar.cpp +++ b/linden/indra/newview/llpanelavatar.cpp | |||
@@ -416,6 +416,7 @@ BOOL LLPanelAvatarWeb::postBuild(void) | |||
416 | childSetControlName("auto_load","AutoLoadWebProfiles"); | 416 | childSetControlName("auto_load","AutoLoadWebProfiles"); |
417 | 417 | ||
418 | mWebBrowser = getChild<LLMediaCtrl>("profile_html"); | 418 | mWebBrowser = getChild<LLMediaCtrl>("profile_html"); |
419 | |||
419 | mWebBrowser->addObserver(this); | 420 | mWebBrowser->addObserver(this); |
420 | 421 | ||
421 | // links open in internally | 422 | // links open in internally |
@@ -490,7 +491,17 @@ void LLPanelAvatarWeb::refresh() | |||
490 | mNavigateTo = ""; | 491 | mNavigateTo = ""; |
491 | } | 492 | } |
492 | } | 493 | } |
494 | void LLPanelAvatarWeb::onVisibilityChange(BOOL new_visibility) | ||
495 | { | ||
496 | LLPluginClassMedia::EPriority new_priority; | ||
493 | 497 | ||
498 | if (new_visibility) | ||
499 | new_priority = LLPluginClassMedia::PRIORITY_NORMAL; | ||
500 | else | ||
501 | new_priority = LLPluginClassMedia::PRIORITY_HIDDEN; | ||
502 | |||
503 | mWebBrowser->getMediaPlugin()->setPriority(new_priority); | ||
504 | } | ||
494 | 505 | ||
495 | void LLPanelAvatarWeb::enableControls(BOOL self) | 506 | void LLPanelAvatarWeb::enableControls(BOOL self) |
496 | { | 507 | { |
diff --git a/linden/indra/newview/llpanelavatar.h b/linden/indra/newview/llpanelavatar.h index b687cd8..9a2f450 100644 --- a/linden/indra/newview/llpanelavatar.h +++ b/linden/indra/newview/llpanelavatar.h | |||
@@ -76,7 +76,6 @@ public: | |||
76 | /*virtual*/ void draw(); | 76 | /*virtual*/ void draw(); |
77 | 77 | ||
78 | LLPanelAvatar* getPanelAvatar() const { return mPanelAvatar; } | 78 | LLPanelAvatar* getPanelAvatar() const { return mPanelAvatar; } |
79 | |||
80 | void setDataRequested(bool requested) { mDataRequested = requested; } | 79 | void setDataRequested(bool requested) { mDataRequested = requested; } |
81 | bool isDataRequested() const { return mDataRequested; } | 80 | bool isDataRequested() const { return mDataRequested; } |
82 | 81 | ||
@@ -143,14 +142,15 @@ public: | |||
143 | LLPanelAvatarWeb(const std::string& name, const LLRect& rect, LLPanelAvatar* panel_avatar); | 142 | LLPanelAvatarWeb(const std::string& name, const LLRect& rect, LLPanelAvatar* panel_avatar); |
144 | /*virtual*/ ~LLPanelAvatarWeb(); | 143 | /*virtual*/ ~LLPanelAvatarWeb(); |
145 | /*virtual*/ BOOL postBuild(void); | 144 | /*virtual*/ BOOL postBuild(void); |
146 | |||
147 | /*virtual*/ void refresh(); | 145 | /*virtual*/ void refresh(); |
146 | /*virtual*/ void onVisibilityChange(BOOL new_visibility); | ||
148 | 147 | ||
149 | void enableControls(BOOL own_avatar); | 148 | void enableControls(BOOL own_avatar); |
150 | 149 | ||
151 | void setWebURL(std::string url); | 150 | void setWebURL(std::string url); |
152 | 151 | ||
153 | void load(std::string url); | 152 | void load(std::string url); |
153 | |||
154 | static void onURLKeystroke(LLLineEditor* editor, void* data); | 154 | static void onURLKeystroke(LLLineEditor* editor, void* data); |
155 | static void onCommitLoad(LLUICtrl* ctrl, void* data); | 155 | static void onCommitLoad(LLUICtrl* ctrl, void* data); |
156 | static void onCommitURL(LLUICtrl* ctrl, void* data); | 156 | static void onCommitURL(LLUICtrl* ctrl, void* data); |
diff --git a/linden/indra/newview/llpaneldirfind.cpp b/linden/indra/newview/llpaneldirfind.cpp index 342ffec..719a7a0 100644 --- a/linden/indra/newview/llpaneldirfind.cpp +++ b/linden/indra/newview/llpaneldirfind.cpp | |||
@@ -62,6 +62,7 @@ | |||
62 | #include "lluictrlfactory.h" | 62 | #include "lluictrlfactory.h" |
63 | #include "llfloaterdirectory.h" | 63 | #include "llfloaterdirectory.h" |
64 | #include "llpaneldirbrowser.h" | 64 | #include "llpaneldirbrowser.h" |
65 | #include "llpluginclassmedia.h" | ||
65 | 66 | ||
66 | #include <boost/tokenizer.hpp> | 67 | #include <boost/tokenizer.hpp> |
67 | #if LL_WINDOWS | 68 | #if LL_WINDOWS |
@@ -196,10 +197,17 @@ void LLPanelDirFind::draw() | |||
196 | // virtual | 197 | // virtual |
197 | void LLPanelDirFind::onVisibilityChange(BOOL new_visibility) | 198 | void LLPanelDirFind::onVisibilityChange(BOOL new_visibility) |
198 | { | 199 | { |
200 | LLPluginClassMedia::EPriority new_priority; | ||
199 | if (new_visibility) | 201 | if (new_visibility) |
200 | { | 202 | { |
201 | mFloaterDirectory->hideAllDetailPanels(); | 203 | mFloaterDirectory->hideAllDetailPanels(); |
204 | new_priority = LLPluginClassMedia::PRIORITY_NORMAL; | ||
202 | } | 205 | } |
206 | else | ||
207 | new_priority = LLPluginClassMedia::PRIORITY_HIDDEN; | ||
208 | |||
209 | mWebBrowser->getMediaPlugin()->setPriority(new_priority); | ||
210 | |||
203 | LLPanel::onVisibilityChange(new_visibility); | 211 | LLPanel::onVisibilityChange(new_visibility); |
204 | } | 212 | } |
205 | 213 | ||
diff --git a/linden/install.xml b/linden/install.xml index e8c8b54..7fda398 100755 --- a/linden/install.xml +++ b/linden/install.xml | |||
@@ -1343,6 +1343,13 @@ Copyright (C) 2004-2005 Vladimir Berezniker @ http://public.xdi.org/=vmpn | |||
1343 | <key>url</key> | 1343 | <key>url</key> |
1344 | <uri>http://s3.amazonaws.com/viewer-source-downloads/install_pkgs/linux-pulse-headers-0.9.14.tar.bz2</uri> | 1344 | <uri>http://s3.amazonaws.com/viewer-source-downloads/install_pkgs/linux-pulse-headers-0.9.14.tar.bz2</uri> |
1345 | </map> | 1345 | </map> |
1346 | <key>linux64</key> | ||
1347 | <map> | ||
1348 | <key>md5sum</key> | ||
1349 | <string>30cb00069fe2a545fbf7be1070386236</string> | ||
1350 | <key>url</key> | ||
1351 | <uri>http://s3.amazonaws.com/viewer-source-downloads/install_pkgs/linux-pulse-headers-0.9.14.tar.bz2</uri> | ||
1352 | </map> | ||
1346 | </map> | 1353 | </map> |
1347 | </map> | 1354 | </map> |
1348 | <key>quicktime</key> | 1355 | <key>quicktime</key> |