summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default/xui/en/menu_participant_list.xml
blob: 31263fbea8bb7e675b1ee094eb91490ba0f407de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<context_menu
 layout="topleft"
 name="Participant List Context Menu">
    <menu_item_check
     label="Sort by Name"
     layout="topleft"
     name="SortByName">
        <menu_item_check.on_click
         function="ParticipantList.Sort"
         parameter="sort_by_name" />
        <menu_item_check.on_check
         function="ParticipantList.CheckItem"
         parameter="is_sorted_by_name" />
    </menu_item_check>
    <menu_item_check
     label="Sort by Recent Speakers"
     layout="topleft"
     name="SortByRecentSpeakers">
        <menu_item_check.on_click
         function="ParticipantList.Sort"
         parameter="sort_by_recent_speakers" />
        <menu_item_check.on_check
         function="ParticipantList.CheckItem"
         parameter="is_sorted_by_recent_speakers" />
    </menu_item_check>
    <menu_item_call
     label="View Profile"
     layout="topleft"
     name="View Profile">
        <menu_item_call.on_click
         function="Avatar.Profile" />
    </menu_item_call>
    <menu_item_call
     label="Add Friend"
     layout="topleft"
     name="Add Friend">
        <menu_item_call.on_click
         function="Avatar.AddFriend" />
        <menu_item_call.on_enable
         function="ParticipantList.EnableItem"
         parameter="can_add" />
    </menu_item_call>
    <menu_item_call
     label="IM"
     layout="topleft"
     name="IM">
        <menu_item_call.on_click
         function="Avatar.IM" />
    </menu_item_call>
    <menu_item_call
     label="Call"
     layout="topleft"
     name="Call">
         <menu_item_call.on_click
         function="Avatar.Call" />
        <menu_item_call.on_enable
         function="ParticipantList.EnableItem"
         parameter="can_call" />
    </menu_item_call>
    <menu_item_call
     enabled="true"
     label="Share"
     layout="topleft"
     name="Share">
        <menu_item_call.on_click
         function="Avatar.Share" />
    </menu_item_call>
    <menu_item_call
     label="Pay"
     layout="topleft"
     name="Pay">
        <menu_item_call.on_click
         function="Avatar.Pay" />
    </menu_item_call>
        <menu_item_separator
         layout="topleft" />
    <menu_item_check
     label="Block Voice"
     layout="topleft"
     name="Block/Unblock">
        <menu_item_check.on_click
         function="Avatar.BlockUnblock" />
        <menu_item_check.on_check
         function="ParticipantList.CheckItem"
         parameter="is_blocked" />
        <menu_item_check.on_enable
         function="ParticipantList.EnableItem"
         parameter="can_block" />
    </menu_item_check>
    <menu_item_check
     label="Block Text"
     layout="topleft"
     name="MuteText">
        <on_check
         function="ParticipantList.CheckItem"
         parameter="is_muted" />
        <on_click
         function="ParticipantList.ToggleMuteText" />
        <on_enable
         function="ParticipantList.EnableItem"
         parameter="can_mute_text" />
    </menu_item_check>
        <menu_item_separator
         layout="topleft" />
    <context_menu
     label="Moderator Options &gt;"
     layout="topleft"
     name="Moderator Options" >
    <menu_item_check
     label="Allow text chat"
     layout="topleft"
     name="AllowTextChat">
        <on_check
         function="ParticipantList.CheckItem"
         parameter="is_allowed_text_chat" />
        <on_click
         function="ParticipantList.ToggleAllowTextChat" />
        <on_enable
         function="ParticipantList.EnableItem"
         parameter="can_allow_text_chat" />
    </menu_item_check>
    <menu_item_separator
     layout="topleft"
     name="moderate_voice_separator" />
    <menu_item_call
     label="Mute this participant"
     layout="topleft"
     name="ModerateVoiceMuteSelected">
        <on_click
         function="ParticipantList.ModerateVoice"
         parameter="selected" />
        <on_enable
         function="ParticipantList.EnableItem"
         parameter="can_moderate_voice" />
    </menu_item_call>
    <menu_item_call
     label="Mute everyone else"
     layout="topleft"
     name="ModerateVoiceMuteOthers">
        <on_click
         function="ParticipantList.ModerateVoice"
         parameter="others" />
        <on_enable
         function="ParticipantList.EnableItem"
         parameter="can_moderate_voice" />
    </menu_item_call>
    <menu_item_call
     label="Unmute this participant"
     layout="topleft"
     name="ModerateVoiceUnMuteSelected">
        <on_click
         function="ParticipantList.ModerateVoice"
         parameter="selected" />
        <on_enable
         function="ParticipantList.EnableItem"
         parameter="can_moderate_voice" />
    </menu_item_call>
    <menu_item_call
     label="Unmute everyone else"
     layout="topleft"
     name="ModerateVoiceUnMuteOthers">
        <on_click
         function="ParticipantList.ModerateVoice"
         parameter="others" />
        <on_enable
         function="ParticipantList.EnableItem"
         parameter="can_moderate_voice" />
    </menu_item_call>
    </context_menu>
</context_menu>