patches/thunderbird3-30-zoom.diff
author yippi
Mon, 27 Sep 2010 21:07:51 +0000
changeset 20108 51df67ca9307
parent 17977 1467a2d83292
permissions -rw-r--r--
I had these modules listed as being owned by me, but they are really owned by wangke, correcting.

--- comm-1.9.1/mail/base/content/folderPane.js.old	2010-05-08 14:28:14.589602645 +0800
+++ comm-1.9.1/mail/base/content/folderPane.js	2010-05-08 14:28:37.883938510 +0800
@@ -325,6 +325,7 @@
 
     this.selection.select(folderIndex);
     this._treeElement.treeBoxObject.ensureRowIsVisible(folderIndex);
+    goUpdateViewZoomMenuItems();
     return true;
   },
 
--- comm-1.9.1/mail/base/content/utilityOverlay.js.old	2010-05-08 14:28:21.748043581 +0800
+++ comm-1.9.1/mail/base/content/utilityOverlay.js	2010-05-08 14:28:37.884433804 +0800
@@ -104,6 +104,13 @@
   goUpdateCommand('cmd_findTypeLinks');
 }
 
+// update view zoom menu items that rely on select 
+function goUpdateViewZoomMenuItems()
+{
+  goUpdateCommand('cmd_fullZoomEnlarge');
+  goUpdateCommand('cmd_fullZoomReduce');
+  goUpdateCommand('cmd_fullZoomReset');
+}
 // Gather all descendent text under given document node.
 function gatherTextUnder ( root ) 
 {