patches/thunderbird3-30-zoom.diff
author rohinis
Tue, 29 Nov 2011 17:32:55 +0000
branchs11express-2010-11
changeset 22234 c23e64da3e06
parent 17977 1467a2d83292
permissions -rw-r--r--
2011-11-29 Rohini S <[email protected]> * patches/Python26-22-audio.diff: Fixes CVE-2010-1634 * specs/SUNWPython26.spec: Fixes CR 7085446
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
17977
1467a2d83292 2010-05-09 Brian Lu <[email protected]>
hawklu
parents:
diff changeset
     1
--- comm-1.9.1/mail/base/content/folderPane.js.old	2010-05-08 14:28:14.589602645 +0800
1467a2d83292 2010-05-09 Brian Lu <[email protected]>
hawklu
parents:
diff changeset
     2
+++ comm-1.9.1/mail/base/content/folderPane.js	2010-05-08 14:28:37.883938510 +0800
1467a2d83292 2010-05-09 Brian Lu <[email protected]>
hawklu
parents:
diff changeset
     3
@@ -325,6 +325,7 @@
1467a2d83292 2010-05-09 Brian Lu <[email protected]>
hawklu
parents:
diff changeset
     4
 
1467a2d83292 2010-05-09 Brian Lu <[email protected]>
hawklu
parents:
diff changeset
     5
     this.selection.select(folderIndex);
1467a2d83292 2010-05-09 Brian Lu <[email protected]>
hawklu
parents:
diff changeset
     6
     this._treeElement.treeBoxObject.ensureRowIsVisible(folderIndex);
1467a2d83292 2010-05-09 Brian Lu <[email protected]>
hawklu
parents:
diff changeset
     7
+    goUpdateViewZoomMenuItems();
1467a2d83292 2010-05-09 Brian Lu <[email protected]>
hawklu
parents:
diff changeset
     8
     return true;
1467a2d83292 2010-05-09 Brian Lu <[email protected]>
hawklu
parents:
diff changeset
     9
   },
1467a2d83292 2010-05-09 Brian Lu <[email protected]>
hawklu
parents:
diff changeset
    10
 
1467a2d83292 2010-05-09 Brian Lu <[email protected]>
hawklu
parents:
diff changeset
    11
--- comm-1.9.1/mail/base/content/utilityOverlay.js.old	2010-05-08 14:28:21.748043581 +0800
1467a2d83292 2010-05-09 Brian Lu <[email protected]>
hawklu
parents:
diff changeset
    12
+++ comm-1.9.1/mail/base/content/utilityOverlay.js	2010-05-08 14:28:37.884433804 +0800
1467a2d83292 2010-05-09 Brian Lu <[email protected]>
hawklu
parents:
diff changeset
    13
@@ -104,6 +104,13 @@
1467a2d83292 2010-05-09 Brian Lu <[email protected]>
hawklu
parents:
diff changeset
    14
   goUpdateCommand('cmd_findTypeLinks');
1467a2d83292 2010-05-09 Brian Lu <[email protected]>
hawklu
parents:
diff changeset
    15
 }
1467a2d83292 2010-05-09 Brian Lu <[email protected]>
hawklu
parents:
diff changeset
    16
 
1467a2d83292 2010-05-09 Brian Lu <[email protected]>
hawklu
parents:
diff changeset
    17
+// update view zoom menu items that rely on select 
1467a2d83292 2010-05-09 Brian Lu <[email protected]>
hawklu
parents:
diff changeset
    18
+function goUpdateViewZoomMenuItems()
1467a2d83292 2010-05-09 Brian Lu <[email protected]>
hawklu
parents:
diff changeset
    19
+{
1467a2d83292 2010-05-09 Brian Lu <[email protected]>
hawklu
parents:
diff changeset
    20
+  goUpdateCommand('cmd_fullZoomEnlarge');
1467a2d83292 2010-05-09 Brian Lu <[email protected]>
hawklu
parents:
diff changeset
    21
+  goUpdateCommand('cmd_fullZoomReduce');
1467a2d83292 2010-05-09 Brian Lu <[email protected]>
hawklu
parents:
diff changeset
    22
+  goUpdateCommand('cmd_fullZoomReset');
1467a2d83292 2010-05-09 Brian Lu <[email protected]>
hawklu
parents:
diff changeset
    23
+}
1467a2d83292 2010-05-09 Brian Lu <[email protected]>
hawklu
parents:
diff changeset
    24
 // Gather all descendent text under given document node.
1467a2d83292 2010-05-09 Brian Lu <[email protected]>
hawklu
parents:
diff changeset
    25
 function gatherTextUnder ( root ) 
1467a2d83292 2010-05-09 Brian Lu <[email protected]>
hawklu
parents:
diff changeset
    26
 {