summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Kondrashev <ekondrashev@productengine.com>2009-11-09 18:39:26 +0200
committerEugene Kondrashev <ekondrashev@productengine.com>2009-11-09 18:39:26 +0200
commitb56f497098aca38ce8f0023b297dfd7171f8d7f4 (patch)
treea3ee7d82f916541a5866f2d4350e48598dc9bcbc
parent3c8270c4dd60938c16c6f25110a10f71352156c5 (diff)
No ticket. Removed unused includes. Formatted xml.
--HG-- branch : product-engine
-rw-r--r--indra/newview/llparticipantlist.cpp3
-rw-r--r--indra/newview/skins/default/xui/en/menu_participant_list.xml16
2 files changed, 8 insertions, 11 deletions
diff --git a/indra/newview/llparticipantlist.cpp b/indra/newview/llparticipantlist.cpp
index 21b40e25a0..8155766b49 100644
--- a/indra/newview/llparticipantlist.cpp
+++ b/indra/newview/llparticipantlist.cpp
@@ -32,9 +32,6 @@
#include "llviewerprecompiledheaders.h"
-#include "llmenugl.h"
-#include "lluictrlfactory.h"
-
// common includes
#include "lltrans.h"
#include "llavataractions.h"
diff --git a/indra/newview/skins/default/xui/en/menu_participant_list.xml b/indra/newview/skins/default/xui/en/menu_participant_list.xml
index 802064992e..c3283c6014 100644
--- a/indra/newview/skins/default/xui/en/menu_participant_list.xml
+++ b/indra/newview/skins/default/xui/en/menu_participant_list.xml
@@ -6,12 +6,12 @@
label="Mute Text"
layout="topleft"
name="MuteText">
- <menu_item_check.on_click
- function="ParticipantList.ToggleMuteText" />
- <menu_item_check.on_check
+ <on_check
function="ParticipantList.CheckItem"
parameter="is_muted" />
- <menu_item_check.on_enable
+ <on_click
+ function="ParticipantList.ToggleMuteText" />
+ <on_enable
function="ParticipantList.EnableItem"
parameter="can_mute_text" />
</menu_item_check>
@@ -19,12 +19,12 @@
label="Allow text chat"
layout="topleft"
name="AllowTextChat">
- <menu_item_check.on_click
- function="ParticipantList.ToggleAllowTextChat" />
- <menu_item_check.on_check
+ <on_check
function="ParticipantList.CheckItem"
parameter="is_allowed_text_chat" />
- <menu_item_check.on_enable
+ <on_click
+ function="ParticipantList.ToggleAllowTextChat" />
+ <on_enable
function="ParticipantList.EnableItem"
parameter="can_allow_text_chat" />
</menu_item_check>