Bug #108761 --> override globalEditMenuItems and selectEditMenuItems so

with our own custom event so we can reduce the amount of command updating
they were doing during message display.
r=bienvenu
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@107787 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mscott%netscape.com
2001-11-09 23:53:16 +00:00
parent 60cfbceeb2
commit c4e2261977

View File

@@ -52,6 +52,24 @@ Rights Reserved.
<stringbundle id="findBundle" src="chrome://global/locale/finddialog.properties"/>
</stringbundleset>
<!-- Performance optimization...we include utilityOverlay.xul which defines some command sets
which are updated based on events like focus and select. We have our own custom events
which we use to optmize when we do command updating. To avoid unnecessary command updating,
we are going to override the events the global edit menu items and select edit menu items
are updated on with events of our own controlling.
-->
<commandset id="globalEditMenuItems"
commandupdater="true"
events="create-menu-edit"
oncommandupdate="goUpdateGlobalEditMenuItems()"/>
<commandset id="selectEditMenuItems"
commandupdater="true"
events="create-menu-edit"
oncommandupdate="goUpdateSelectEditMenuItems()"/>
<!-- End command set merging -->
<commandset id="mailFileMenuItems"
commandupdater="true"
events="create-menu-file"