[Pkg-mozext-commits] [compactheader] 48/441: New version 0.6.2: Bugfix for moving around other actions and tag menu Shift toggle button down.

David Prévot taffit at moszumanska.debian.org
Wed Mar 18 12:28:43 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository compactheader.

commit 5dc990ee3dafc3db4ca703f95c802b395639ef9d
Author: joachim.herb <none at none>
Date:   Fri Sep 4 23:22:16 2009 +0000

    New version 0.6.2:
    Bugfix for moving around other actions and tag menu
    Shift toggle button down.
---
 chrome/CompactHeader/content/compactHeaderOverlay.js | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/chrome/CompactHeader/content/compactHeaderOverlay.js b/chrome/CompactHeader/content/compactHeaderOverlay.js
index 48ad892..e7aec20 100644
--- a/chrome/CompactHeader/content/compactHeaderOverlay.js
+++ b/chrome/CompactHeader/content/compactHeaderOverlay.js
@@ -92,6 +92,9 @@ function cleanupHeaderXUL(){
 	var xularray = ["collapsedfromOutBox", "collapsedtoCcBccOutBox", 
 									"collapsedButtonBox", "collapsedsubjectBox", 
 									"collapseddateBox", "coheBaselineBox"];
+									
+	/* rescue otheraction and tagpopup */
+	moveMenusToButtonBox(false);
 	for (var i=0; i<xularray.length; i++) {
 		var x = document.getElementById(xularray[i]);
 		if (x != null) {
@@ -104,7 +107,7 @@ function create2LHeaderXUL() {
 	cleanupHeaderXUL();
 	
 	var myElement = document.getElementById("collapsedHeaderViewFirstLine");
-
+	
 	var xul1   = document.createElement("hbox");
 	xul1.id    = "collapsedfromOutBox";
 	xul1.align = "start";
@@ -320,7 +323,7 @@ function coheInitializeHeaderViewTables()
 	  RSSLinkify.oldSubject.parentNode.insertBefore(RSSLinkify.newSubject, RSSLinkify.oldSubject);
 	}
 
-//	moveMenusToButtonBox();
+//	moveMenusToButtonBox(gCoheCollapsedHeaderViewMode);
 	
   updateHdrButtons();
   updateHdrIconText();
@@ -356,7 +359,7 @@ function coheOnLoadMsgHeaderPane()
   	coheFirstTime = false;
 	}
 	
-	moveMenusToButtonBox();
+	moveMenusToButtonBox(gCoheCollapsedHeaderViewMode);
 }
 
 var coheMessageListener = 
@@ -452,10 +455,10 @@ function coheUpdateHeaderView()
 }
 
 
-function moveMenusToButtonBox() {
+function moveMenusToButtonBox(viewMode) {
 	var target;
 	
-	if (gCoheCollapsedHeaderViewMode)
+	if (viewMode)
 		target = "collapsedButtonBox";
 	else
 		target = "otherActionsBox";
@@ -493,7 +496,7 @@ function coheToggleHeaderView ()
 	  updateHdrButtons();
   }
 
-	moveMenusToButtonBox();
+	moveMenusToButtonBox(gCoheCollapsedHeaderViewMode);
   
   // Work around a xul deck bug where the height of the deck is determined
 	// by the tallest panel in the deck even if that panel is not selected...

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/compactheader.git



More information about the Pkg-mozext-commits mailing list