FIRE-13515: Disable pie/context menu items for give calling card if forbidden by RLV

--HG--
branch : Firestorm_4.6.5
Ansariel 2014-04-21 20:30:45 +02:00
parent f989a32ea1
commit 642f76a821
4 changed files with 12 additions and 0 deletions

View File

@ -46,6 +46,9 @@
name="Give Calling Card">
<menu_item_call.on_click
function="Avatar.GiveCard" />
<menu_item_call.on_enable
function="RLV.EnableIfNot"
parameter="shownames" />
</menu_item_call>
<menu_item_call
label="Call"

View File

@ -27,6 +27,9 @@
name="Give Calling Card">
<menu_item_call.on_click
function="Avatar.GiveCard" />
<menu_item_call.on_enable
function="RLV.EnableIfNot"
parameter="shownames" />
</menu_item_call>
<menu_item_call
label="Add to Set"

View File

@ -101,6 +101,9 @@
name="Give Calling Card">
<pie_slice.on_click
function="Avatar.GiveCard" />
<pie_slice.on_enable
function="RLV.EnableIfNot"
parameter="shownames" />
</pie_slice>
<pie_slice
label="Invite to Group"

View File

@ -101,6 +101,9 @@
name="Give Calling Card">
<pie_slice.on_click
function="Avatar.GiveCard" />
<pie_slice.on_enable
function="RLV.EnableIfNot"
parameter="shownames" />
</pie_slice>
<pie_slice
label="Invite to Group"