diff options
author | thickbrick | 2011-04-01 15:28:48 +0300 |
---|---|---|
committer | thickbrick | 2011-04-01 15:28:48 +0300 |
commit | 4131069d0f517180a92e8ebda20b4760ecaeb855 (patch) | |
tree | 0203cc7b40e02dc7465aae2a7d89fabdf2964686 /linden/indra/newview/skins/default/xui | |
parent | Fix #832: Media Filter: handle sim hosts with no dns name. (diff) | |
download | meta-impy-4131069d0f517180a92e8ebda20b4760ecaeb855.zip meta-impy-4131069d0f517180a92e8ebda20b4760ecaeb855.tar.gz meta-impy-4131069d0f517180a92e8ebda20b4760ecaeb855.tar.bz2 meta-impy-4131069d0f517180a92e8ebda20b4760ecaeb855.tar.xz |
Fix 829: Several changes to media filter
- Adds a "less annoying" mode, which attempts to only filter scripted
streaming events. On by default (should we change that?)
- Adds UI to enable and disable the media filter, both from the filter
floater and from the preferences floater.
- Adds a button to launch the filter floater to prefences.
- Some UI tweaks to the filter floater.
Diffstat (limited to 'linden/indra/newview/skins/default/xui')
-rw-r--r-- | linden/indra/newview/skins/default/xui/en-us/floater_media_filter.xml | 26 | ||||
-rw-r--r-- | linden/indra/newview/skins/default/xui/en-us/panel_preferences_audio.xml | 15 |
2 files changed, 33 insertions, 8 deletions
diff --git a/linden/indra/newview/skins/default/xui/en-us/floater_media_filter.xml b/linden/indra/newview/skins/default/xui/en-us/floater_media_filter.xml index 5faaf1a..f0fb3a3 100644 --- a/linden/indra/newview/skins/default/xui/en-us/floater_media_filter.xml +++ b/linden/indra/newview/skins/default/xui/en-us/floater_media_filter.xml | |||
@@ -1,9 +1,22 @@ | |||
1 | <?xml version="1.0" encoding="utf-8" standalone="yes" ?> | 1 | <?xml version="1.0" encoding="utf-8" standalone="yes" ?> |
2 | <floater name="floatermediafilter" title="Media Filter" rect_control="MediaFilterRect" | 2 | <floater name="floatermediafilter" title="Media Filter" rect_control="MediaFilterRect" |
3 | can_close="true" can_drag_on_left="false" can_minimize="true" can_resize="true" | 3 | can_close="true" can_drag_on_left="false" can_minimize="true" can_resize="true" |
4 | height="350" width="600" min_height="350" min_width="600"> | 4 | height="410" width="600" min_height="350" min_width="600"> |
5 | |||
6 | <check_box control_name="MediaEnableFilter" name="enable_mediafilter" label="Enable Media Filter" | ||
7 | initial_value="true" tool_tip="Enables filtering media URLs by domain names." | ||
8 | font="SansSerifSmall" mouse_opaque="true" | ||
9 | left="14" height="16" bottom_delta="-45" width="4500" follows="left|top" /> | ||
10 | |||
11 | <check_box control_name="MediaFilterOnlyRemoteCommands" name="filter_only_remote" | ||
12 | label="Filter only when a script initiates the stream (less secure)" initial_value="false" | ||
13 | tool_tip="This will prevent popups asking about URLs that are permanently set on a parcel. | ||
14 | Only scripted changes to the media URL and scripted requests to start playing a stream will be filtered." | ||
15 | font="SansSerifSmall" mouse_opaque="true" | ||
16 | left_delta="14" height="16" width="450" follows="left|top" /> | ||
17 | |||
5 | <text name="info1" font="SansSerif" mouse_opaque="true" halign="center" | 18 | <text name="info1" font="SansSerif" mouse_opaque="true" halign="center" |
6 | bottom_delta="-45" left="20" height="20" width="560" follows="left|right|top"> | 19 | bottom_delta="-40" left="20" height="20" width="560" follows="left|right|top"> |
7 | Domains in bold are in the persistent list (i.e. they are whitelisted or blacklisted). | 20 | Domains in bold are in the persistent list (i.e. they are whitelisted or blacklisted). |
8 | </text> | 21 | </text> |
9 | <text name="info2" font="SansSerif" mouse_opaque="true" halign="center" | 22 | <text name="info2" font="SansSerif" mouse_opaque="true" halign="center" |
@@ -14,7 +27,7 @@ | |||
14 | <scroll_list name="whitelist_list" follows="top|bottom|left" | 27 | <scroll_list name="whitelist_list" follows="top|bottom|left" |
15 | background_visible="true" mouse_opaque="true" | 28 | background_visible="true" mouse_opaque="true" |
16 | multi_select="false" column_padding="5" draw_border="true" draw_heading="true" | 29 | multi_select="false" column_padding="5" draw_border="true" draw_heading="true" |
17 | bottom_delta="-205" left="15" height="200" width="280"> | 30 | bottom_delta="-200" left="15" height="200" width="280"> |
18 | <column name="whitelist_col" label="Allowed domains or server objects" dynamicwidth="true" /> | 31 | <column name="whitelist_col" label="Allowed domains or server objects" dynamicwidth="true" /> |
19 | </scroll_list> | 32 | </scroll_list> |
20 | 33 | ||
@@ -69,10 +82,13 @@ | |||
69 | tool_tip="Enter the new URL, domain name, IP or scripted object HTTP server path here" | 82 | tool_tip="Enter the new URL, domain name, IP or scripted object HTTP server path here" |
70 | select_all_on_focus_received="true" select_on_focus="true" | 83 | select_all_on_focus_received="true" select_on_focus="true" |
71 | bevel_style="in" border_style="line" border_thickness="1" | 84 | bevel_style="in" border_style="line" border_thickness="1" |
72 | bottom_delta="-22" right="-100" height="20" left="15" follows="left|bottom|right"/> | 85 | bottom_delta="-22" right="-180" height="20" left="15" follows="left|bottom|right"/> |
73 | 86 | ||
87 | <button name="cancel_domain" font="SansSerif" label="Cancel" halign="center" enabled="false" | ||
88 | mouse_opaque="true" follows="bottom|right" | ||
89 | bottom_delta="0" right="-15" height="20" width="80"/> | ||
74 | <button name="commit_domain" font="SansSerif" label="Add" halign="center" enabled="false" | 90 | <button name="commit_domain" font="SansSerif" label="Add" halign="center" enabled="false" |
75 | tool_tip="Add to the list" | 91 | tool_tip="Add to the list" |
76 | mouse_opaque="true" follows="bottom|right" | 92 | mouse_opaque="true" follows="bottom|right" |
77 | bottom_delta="0" right="-15" height="20" width="80"/> | 93 | bottom_delta="0" right="-95" height="20" width="80"/> |
78 | </floater> | 94 | </floater> |
diff --git a/linden/indra/newview/skins/default/xui/en-us/panel_preferences_audio.xml b/linden/indra/newview/skins/default/xui/en-us/panel_preferences_audio.xml index c6bb938..3415b1b 100644 --- a/linden/indra/newview/skins/default/xui/en-us/panel_preferences_audio.xml +++ b/linden/indra/newview/skins/default/xui/en-us/panel_preferences_audio.xml | |||
@@ -9,13 +9,13 @@ | |||
9 | Volume: | 9 | Volume: |
10 | </text> | 10 | </text> |
11 | <text type="string" length="1" bg_visible="false" border_drop_shadow_visible="false" border_visible="false" | 11 | <text type="string" length="1" bg_visible="false" border_drop_shadow_visible="false" border_visible="false" |
12 | bottom="-190" drop_shadow_visible="true" enabled="true" follows="left|top" | 12 | bottom="-202" drop_shadow_visible="true" enabled="true" follows="left|top" |
13 | font="SansSerifSmall" h_pad="0" halign="left" height="12" left="10" | 13 | font="SansSerifSmall" h_pad="0" halign="left" height="12" left="10" |
14 | mouse_opaque="true" name="streaming_prefs_text" v_pad="0" width="128"> | 14 | mouse_opaque="true" name="streaming_prefs_text" v_pad="0" width="128"> |
15 | Streaming: | 15 | Streaming: |
16 | </text> | 16 | </text> |
17 | <text type="string" length="1" bg_visible="false" border_drop_shadow_visible="false" border_visible="false" | 17 | <text type="string" length="1" bg_visible="false" border_drop_shadow_visible="false" border_visible="false" |
18 | bottom="-285" drop_shadow_visible="true" enabled="true" follows="left|top" | 18 | bottom="-315" drop_shadow_visible="true" enabled="true" follows="left|top" |
19 | font="SansSerifSmall" h_pad="0" halign="left" height="12" left="10" | 19 | font="SansSerifSmall" h_pad="0" halign="left" height="12" left="10" |
20 | mouse_opaque="true" name="audio_prefs_text" v_pad="0" width="128"> | 20 | mouse_opaque="true" name="audio_prefs_text" v_pad="0" width="128"> |
21 | Audio: | 21 | Audio: |
@@ -42,7 +42,16 @@ | |||
42 | initial_value="true" label="Automatically play media" left="162" | 42 | initial_value="true" label="Automatically play media" left="162" |
43 | mouse_opaque="true" name="auto_streaming_video" radio_style="false" | 43 | mouse_opaque="true" name="auto_streaming_video" radio_style="false" |
44 | width="338" /> | 44 | width="338" /> |
45 | <check_box bottom_delta="-27" control_name="MuteWhenMinimized" enabled="true" | 45 | <check_box bottom_delta="-20" control_name="MediaEnableFilter" enabled="true" |
46 | follows="left|top" font="SansSerifSmall" height="16" | ||
47 | initial_value="true" label="Filter media URLs" left="142" | ||
48 | mouse_opaque="true" name="enable_media_filter" radio_style="false" | ||
49 | width="200" /> | ||
50 | <button name="show_media_filter" font="SansSerif" label="Media Filter Settings" halign="center" | ||
51 | tool_tip="Edit settings and the blocked and allowed lists for the Media Filter." | ||
52 | enabled="false" mouse_opaque="true" follows="top|right" | ||
53 | bottom_delta="-2" right="-15" height="20" width="180" /> | ||
54 | <check_box bottom_delta="-33" control_name="MuteWhenMinimized" enabled="true" | ||
46 | follows="left|top" font="SansSerifSmall" height="16" initial_value="true" | 55 | follows="left|top" font="SansSerifSmall" height="16" initial_value="true" |
47 | label="Mute audio when window minimized" left="142" mouse_opaque="true" | 56 | label="Mute audio when window minimized" left="142" mouse_opaque="true" |
48 | name="mute_when_minimized" radio_style="false" width="215" /> | 57 | name="mute_when_minimized" radio_style="false" width="215" /> |