[Pkg-mozext-commits] [compactheader] 127/441: New version 1.1.5 (beta1): Toggle icon of message flag button corresponding to the flag state of the message

David Prévot taffit at moszumanska.debian.org
Wed Mar 18 12:28:51 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 97b53555844ec8a9bbb12735f21adda5c9a5d370
Author: joachim.herb <none at none>
Date:   Sun Jan 3 01:29:11 2010 +0000

    New version 1.1.5 (beta1):
    Toggle icon of message flag button corresponding to the flag state of the message
---
 chrome/CompactHeader/content/preferences.js      | 16 +---------------
 chrome/CompactHeader/skin/mac/buttonsOverlay.css | 16 ++++++++++++++++
 2 files changed, 17 insertions(+), 15 deletions(-)

diff --git a/chrome/CompactHeader/content/preferences.js b/chrome/CompactHeader/content/preferences.js
index 544cb5b..8c718b2 100644
--- a/chrome/CompactHeader/content/preferences.js
+++ b/chrome/CompactHeader/content/preferences.js
@@ -22,7 +22,6 @@ if(!org.mozdev.compactHeader) org.mozdev.compactHeader = {};
 org.mozdev.compactHeader.preferences = function() {
   var pub = {};
   var prefBranch;
-  var gXMLHttpRequest;
   ///////////////////////////////////////////////////////////////////////////////
   //
   //  onLoad
@@ -31,21 +30,8 @@ org.mozdev.compactHeader.preferences = function() {
   //  controls according to current configuration settings.
   //
   
-  //function disableUpdate(){
-  //  return false; /* Mozdev version */ /* Patch this line for AMO version */
-  //}
-  
-  pub.CoheCheckForUpdates = function() {
-  	gXMLHttpRequest = new XMLHttpRequest();
-    gXMLHttpRequest.onload = updateCohe;
-    gXMLHttpRequest.open("GET", "http://compactheader.mozdev.org/availVersion.xml",true);
-    gXMLHttpRequest.send(null);
-  }
-  
   pub.onLoad = function()
-  {
-  	//document.getElementById("coheSearchUpdates").setAttribute("hidden", disableUpdate());
-  	
+  {  	
     prefBranch = Components.classes["@mozilla.org/preferences-service;1"]
       .getService(Components.interfaces.nsIPrefService)
       .getBranch("extensions.CompactHeader.");
diff --git a/chrome/CompactHeader/skin/mac/buttonsOverlay.css b/chrome/CompactHeader/skin/mac/buttonsOverlay.css
index 478f1e0..07400c7 100644
--- a/chrome/CompactHeader/skin/mac/buttonsOverlay.css
+++ b/chrome/CompactHeader/skin/mac/buttonsOverlay.css
@@ -50,4 +50,20 @@
 toolbar[iconsize="small"] #button-starMessages .toolbarbutton-icon {
   height: 24px;
   width:  24px;
+}
+
+#header-view-toolbox #button-starMessages{
+  list-style-image: url("chrome://CompactHeader-os/skin/flag-empty.png");
+}
+
+#header-view-toolbox #button-starMessages[flagged]{
+  list-style-image: url("chrome://CompactHeader-os/skin/flag.png");
+}
+
+#header-view-toolbox #button-starMessages .toolbarbutton-icon {
+  -moz-image-region: rect(-10px 22px 22px -10px);
+}
+
+#header-view-toolbox toolbar[iconsize="small"] #button-starMessages .toolbarbutton-icon {
+  -moz-image-region: rect(-6px 18px 18px -6px);
 }
\ No newline at end of file

-- 
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