PageRenderTime 39ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/indra/newview/skins/default/xui/en/menu_participant_list.xml

https://bitbucket.org/lindenlab/viewer-beta/
XML | 197 lines | 197 code | 0 blank | 0 comment | 0 complexity | b97f44cbcc32537e4b80a65defbc589a MD5 | raw file
Possible License(s): LGPL-2.1
  1. <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
  2. <context_menu
  3. layout="topleft"
  4. name="Participant List Context Menu">
  5. <menu_item_check
  6. label="Sort by Name"
  7. layout="topleft"
  8. name="SortByName">
  9. <on_check
  10. function="ParticipantList.CheckItem"
  11. parameter="is_sorted_by_name" />
  12. <on_click
  13. function="ParticipantList.Sort"
  14. parameter="sort_by_name" />
  15. </menu_item_check>
  16. <menu_item_check
  17. label="Sort by Recent Speakers"
  18. layout="topleft"
  19. name="SortByRecentSpeakers">
  20. <on_check
  21. function="ParticipantList.CheckItem"
  22. parameter="is_sorted_by_recent_speakers" />
  23. <on_click
  24. function="ParticipantList.Sort"
  25. parameter="sort_by_recent_speakers" />
  26. </menu_item_check>
  27. <menu_item_call
  28. label="View Profile"
  29. layout="topleft"
  30. name="View Profile">
  31. <on_click
  32. function="Avatar.Profile" />
  33. <on_enable
  34. function="ParticipantList.EnableItem"
  35. parameter="can_view_profile" />
  36. </menu_item_call>
  37. <menu_item_call
  38. label="Add Friend"
  39. layout="topleft"
  40. name="Add Friend">
  41. <on_click
  42. function="Avatar.AddFriend" />
  43. <on_enable
  44. function="ParticipantList.EnableItem"
  45. parameter="can_add" />
  46. </menu_item_call>
  47. <menu_item_call
  48. label="IM"
  49. layout="topleft"
  50. name="IM">
  51. <on_click
  52. function="Avatar.IM" />
  53. <on_enable
  54. function="ParticipantList.EnableItem"
  55. parameter="can_im" />
  56. </menu_item_call>
  57. <menu_item_call
  58. label="Call"
  59. layout="topleft"
  60. name="Call">
  61. <on_click
  62. function="Avatar.Call" />
  63. <on_enable
  64. function="ParticipantList.EnableItem"
  65. parameter="can_call" />
  66. </menu_item_call>
  67. <menu_item_call
  68. label="Share"
  69. layout="topleft"
  70. name="Share">
  71. <on_click
  72. function="Avatar.Share" />
  73. <on_enable
  74. function="ParticipantList.EnableItem"
  75. parameter="can_share" />
  76. </menu_item_call>
  77. <menu_item_call
  78. label="Pay"
  79. layout="topleft"
  80. name="Pay">
  81. <on_click
  82. function="Avatar.Pay" />
  83. <on_enable
  84. function="ParticipantList.EnableItem"
  85. parameter="can_pay" />
  86. </menu_item_call>
  87. <menu_item_separator
  88. layout="topleft"
  89. name="View Icons Separator" />
  90. <menu_item_check
  91. label="View People Icons"
  92. layout="topleft"
  93. name="View Icons">
  94. <on_check
  95. function="CheckControl"
  96. parameter="ParticipantListShowIcons" />
  97. <on_click
  98. function="ToggleControl"
  99. parameter="ParticipantListShowIcons" />
  100. </menu_item_check>
  101. <menu_item_separator
  102. layout="topleft" />
  103. <menu_item_check
  104. label="Block Voice"
  105. layout="topleft"
  106. name="Block/Unblock">
  107. <on_check
  108. function="ParticipantList.CheckItem"
  109. parameter="is_blocked" />
  110. <on_click
  111. function="Avatar.BlockUnblock" />
  112. <on_enable
  113. function="ParticipantList.EnableItem"
  114. parameter="can_block" />
  115. </menu_item_check>
  116. <menu_item_check
  117. label="Block Text"
  118. layout="topleft"
  119. name="MuteText">
  120. <on_check
  121. function="ParticipantList.CheckItem"
  122. parameter="is_muted" />
  123. <on_click
  124. function="ParticipantList.ToggleMuteText" />
  125. <on_enable
  126. function="ParticipantList.EnableItem"
  127. parameter="can_mute_text" />
  128. </menu_item_check>
  129. <menu_item_separator
  130. layout="topleft"
  131. name="Moderator Options Separator"/>
  132. <context_menu
  133. label="Moderator Options"
  134. layout="topleft"
  135. name="Moderator Options">
  136. <menu_item_check
  137. label="Allow text chat"
  138. layout="topleft"
  139. name="AllowTextChat">
  140. <on_check
  141. function="ParticipantList.CheckItem"
  142. parameter="is_allowed_text_chat" />
  143. <on_click
  144. function="ParticipantList.ToggleAllowTextChat" />
  145. <on_enable
  146. function="ParticipantList.EnableItem"
  147. parameter="can_allow_text_chat" />
  148. </menu_item_check>
  149. <menu_item_separator
  150. layout="topleft"
  151. name="moderate_voice_separator" />
  152. <menu_item_call
  153. label="Mute this participant"
  154. layout="topleft"
  155. name="ModerateVoiceMuteSelected">
  156. <on_click
  157. function="ParticipantList.ModerateVoice"
  158. parameter="selected" />
  159. <on_enable
  160. function="ParticipantList.EnableItem.Moderate"
  161. parameter="can_moderate_voice" />
  162. </menu_item_call>
  163. <menu_item_call
  164. label="Unmute this participant"
  165. layout="topleft"
  166. name="ModerateVoiceUnMuteSelected">
  167. <on_click
  168. function="ParticipantList.ModerateVoice"
  169. parameter="selected" />
  170. <on_enable
  171. function="ParticipantList.EnableItem.Moderate"
  172. parameter="can_moderate_voice" />
  173. </menu_item_call>
  174. <menu_item_call
  175. label="Mute everyone"
  176. layout="topleft"
  177. name="ModerateVoiceMute">
  178. <on_click
  179. function="ParticipantList.ModerateVoice"
  180. parameter="mute_all" />
  181. <on_enable
  182. function="ParticipantList.EnableItem.Moderate"
  183. parameter="can_moderate_voice" />
  184. </menu_item_call>
  185. <menu_item_call
  186. label="Unmute everyone"
  187. layout="topleft"
  188. name="ModerateVoiceUnmute">
  189. <on_click
  190. function="ParticipantList.ModerateVoice"
  191. parameter="unmute_all" />
  192. <on_enable
  193. function="ParticipantList.EnableItem.Moderate"
  194. parameter="can_moderate_voice" />
  195. </menu_item_call>
  196. </context_menu>
  197. </context_menu>