Bug 629978 - [SeaMonkey] mochitest-plain-3: 2 permanent "test_bug629172.html | Textarea should appear correctly after switching the direction ..."; (Bv1) Stop updating cmd_switchTextDirection status.
r=neil.
--- a/suite/common/utilityOverlay.js
+++ b/suite/common/utilityOverlay.js
@@ -698,18 +698,16 @@ function goUpdateGlobalEditMenuItems()
{
goUpdateCommand('cmd_undo');
goUpdateCommand('cmd_redo');
goUpdateCommand('cmd_cut');
goUpdateCommand('cmd_copy');
goUpdateCommand('cmd_paste');
goUpdateCommand('cmd_selectAll');
goUpdateCommand('cmd_delete');
- if (gShowBiDi)
- goUpdateCommand('cmd_switchTextDirection');
}
// update menu items that rely on the current selection
function goUpdateSelectEditMenuItems()
{
goUpdateCommand('cmd_cut');
goUpdateCommand('cmd_copy');
goUpdateCommand('cmd_delete');
--- a/suite/common/utilityOverlay.xul
+++ b/suite/common/utilityOverlay.xul
@@ -311,18 +311,17 @@
oncommand="goDoCommand('cmd_delete')"
valueDefault="&deleteCmd.label;"
valueDefaultAccessKey="&deleteCmd.accesskey;"
disabled="true"/>
<command id="cmd_selectAll"
oncommand="goDoCommand('cmd_selectAll')"
disabled="true"/>
<command id="cmd_switchTextDirection"
- oncommand="goDoCommand('cmd_switchTextDirection');"
- disabled="true"/>
+ oncommand="goDoCommand('cmd_switchTextDirection');"/>
<command id="cmd_findTypeText"
oncommand="findTextAsYouType();"/>
<command id="cmd_findTypeLinks"
oncommand="findLinksAsYouType();"/>
<!-- Not needed yet, window will need this: -->
<!-- broadcaster id="cmd_preferences"/ -->