patches/thunderbird3-30-zoom.diff
author Jon Tibble <meths@btinternet.com>
Sat, 06 Oct 2012 16:11:50 +0100
branchs11express-2010-11
changeset 22109 db10202d5f6d
parent 17977 1467a2d83292
permissions -rw-r--r--
Added tag oi_151a_prestable7 for changeset 25dee50cecca
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
 {