17977
|
1 |
--- comm-1.9.1/mail/base/content/folderPane.js.old 2010-05-08 14:28:14.589602645 +0800
|
|
2 |
+++ comm-1.9.1/mail/base/content/folderPane.js 2010-05-08 14:28:37.883938510 +0800
|
|
3 |
@@ -325,6 +325,7 @@
|
|
4 |
|
|
5 |
this.selection.select(folderIndex);
|
|
6 |
this._treeElement.treeBoxObject.ensureRowIsVisible(folderIndex);
|
|
7 |
+ goUpdateViewZoomMenuItems();
|
|
8 |
return true;
|
|
9 |
},
|
|
10 |
|
|
11 |
--- comm-1.9.1/mail/base/content/utilityOverlay.js.old 2010-05-08 14:28:21.748043581 +0800
|
|
12 |
+++ comm-1.9.1/mail/base/content/utilityOverlay.js 2010-05-08 14:28:37.884433804 +0800
|
|
13 |
@@ -104,6 +104,13 @@
|
|
14 |
goUpdateCommand('cmd_findTypeLinks');
|
|
15 |
}
|
|
16 |
|
|
17 |
+// update view zoom menu items that rely on select
|
|
18 |
+function goUpdateViewZoomMenuItems()
|
|
19 |
+{
|
|
20 |
+ goUpdateCommand('cmd_fullZoomEnlarge');
|
|
21 |
+ goUpdateCommand('cmd_fullZoomReduce');
|
|
22 |
+ goUpdateCommand('cmd_fullZoomReset');
|
|
23 |
+}
|
|
24 |
// Gather all descendent text under given document node.
|
|
25 |
function gatherTextUnder ( root )
|
|
26 |
{
|