2010-05-09 Brian Lu <[email protected]> NEVADA_140
authorhawklu
Sun, 09 May 2010 09:52:39 +0000
changeset 17977 1467a2d83292
parent 17976 df1ac5687e54
child 17978 8bf7fff629b1
2010-05-09 Brian Lu <[email protected]> * base-specs/thunderbird.spec: * patches/thunderbird3-30-zoom.diff: Fix d.o.o 15616
ChangeLog
base-specs/thunderbird.spec
patches/thunderbird3-30-zoom.diff
--- a/ChangeLog	Sat May 08 07:35:26 2010 +0000
+++ b/ChangeLog	Sun May 09 09:52:39 2010 +0000
@@ -1,3 +1,9 @@
+2010-05-09  Brian Lu  <[email protected]>
+
+	* base-specs/thunderbird.spec:
+	* patches/thunderbird3-30-zoom.diff:
+	  Fix d.o.o 15616
+
 2010-05-08  Dave Lin <[email protected]>
 
 	Updated copyright notice from Sun format to Oracle format.   
--- a/base-specs/thunderbird.spec	Sat May 08 07:35:26 2010 +0000
+++ b/base-specs/thunderbird.spec	Sun May 09 09:52:39 2010 +0000
@@ -101,6 +101,9 @@
 # owner:hawklu date:2009-12-31 type:bug bugzilla:534588
 Patch29: thunderbird3-29-account-setup.diff
 
+# owner:hawklu date:2010-05-08 type:bug d.o.o:15616 
+Patch30: thunderbird3-30-zoom.diff
+
 URL:         http://www.sun.com/software/javadesktopsystem/
 
 BuildRoot:   %{_tmppath}/%{name}-%{tarball_version}-build
@@ -163,6 +166,7 @@
 %patch26 -p1
 %patch28 -p1
 %patch29 -p1
+%patch30 -p1
 
 
 #####################################
@@ -272,6 +276,8 @@
 /bin/rm -rf $RPM_BUILD_ROOT
 
 %changelog
+* Sat May 08 2010 - [email protected]
+- Fix d.o.o 15616
 * Sat Apr 17 2010 - [email protected]
 - Bump to 3.0.4
 * Wed Mar 10 2010 - [email protected]
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/thunderbird3-30-zoom.diff	Sun May 09 09:52:39 2010 +0000
@@ -0,0 +1,26 @@
+--- 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 ) 
+ {