[Pkg-mozext-commits] [compactheader] 293/441: New version 1.4.5beta4: Fixed missing icon of OtherActionsButton using Linux. Some fixes for tests (no more old release builds, remove warning).

David Prévot taffit at moszumanska.debian.org
Wed Mar 18 12:29:11 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 7d2436d5a31a4a2e1dbf1a5e83cdce17b7e38363
Author: joachim <none at none>
Date:   Tue Oct 11 00:39:58 2011 +0200

    New version 1.4.5beta4: Fixed missing icon of OtherActionsButton using Linux. Some fixes for tests (no more old release builds, remove warning).
    
    --HG--
    branch : css_fixes
---
 chrome/CompactHeader/skin/gnome/buttonsOverlay.css |  8 ++++++++
 install.rdf                                        |  2 +-
 test/compactheader/test-compactheader-toolbar.js   | 18 ++++++++++++++++++
 test/executeTests.pl                               |  3 +++
 test/testapps.csv                                  |  8 --------
 5 files changed, 30 insertions(+), 9 deletions(-)

diff --git a/chrome/CompactHeader/skin/gnome/buttonsOverlay.css b/chrome/CompactHeader/skin/gnome/buttonsOverlay.css
index 9270038..fd1f604 100644
--- a/chrome/CompactHeader/skin/gnome/buttonsOverlay.css
+++ b/chrome/CompactHeader/skin/gnome/buttonsOverlay.css
@@ -77,3 +77,11 @@ toolbar[iconsize="small"] #CompactHeader_button-dispMUA .toolbarbutton-icon {
   width:18px;
   height:18px;
 }
+
+.hdrOtherActionsButton {
+  list-style-image: url("chrome://CompactHeader-os/skin/other-action.png");
+}
+
+toolbar[iconsize="small"] .hdrOtherActionsButton {
+  list-style-image: url("chrome://CompactHeader-os/skin/other-action-small.png");
+}
\ No newline at end of file
diff --git a/install.rdf b/install.rdf
index 2c470aa..26b3d5c 100644
--- a/install.rdf
+++ b/install.rdf
@@ -6,7 +6,7 @@
 
 	<RDF:Description about="urn:mozilla:install-manifest">
 		<em:name>CompactHeader</em:name>
-		<em:version>1.4.5beta3</em:version>
+		<em:version>1.4.5beta4</em:version>
 		<em:description>Add ability to reduce header size to one or two lines. Linkify subjects in RSS feeds.</em:description>
 		<em:creator>Joachim Herb</em:creator>
 		<em:contributor>Zamula</em:contributor>
diff --git a/test/compactheader/test-compactheader-toolbar.js b/test/compactheader/test-compactheader-toolbar.js
index 284063b..15aa12d 100644
--- a/test/compactheader/test-compactheader-toolbar.js
+++ b/test/compactheader/test-compactheader-toolbar.js
@@ -167,6 +167,24 @@ function test_customize_header_toolbar_check_default()
 }
 
 ///**
+//*  Test that other action button has icon
+//*/
+function test_other_actions_icon()
+{
+  let curMessage = select_message_in_folder(folder, 0, mc);
+
+  // Restore the default buttons to get defined starting conditions.
+  restore_and_check_default_buttons(mc);
+  expand_and_assert_header(mc);
+
+  let otherActionIcon = mc.a('CompactHeader_hdrOtherActionsButton', {class: "toolbarbutton-icon"});
+
+  let imageSrc = 'url("chrome://compactheader-os/skin/other-action-small.png")';
+  assert_equals(mc.window.getComputedStyle(otherActionIcon).getPropertyValue("list-style-image"), imageSrc);
+
+}
+
+///**
 // *  Test header pane toolbar customization: Reorder buttons
 // */
 function test_customize_header_toolbar_reorder_buttons()
diff --git a/test/executeTests.pl b/test/executeTests.pl
index c66190f..db8592c 100644
--- a/test/executeTests.pl
+++ b/test/executeTests.pl
@@ -97,6 +97,7 @@ while (my $line = <F>)
     foreach my $file (@files) {
       unlink($file);
     }
+    # print "wget -r -l1 --no-parent --follow-ftp -A$checksums $ftppath -nd -P $ftpdir 2>&1\n";
     `wget -r -l1 --no-parent --follow-ftp -A$checksums $ftppath -nd -P $ftpdir 2>&1`;
     @files = glob("$ftpdir/thunderbird*$checksums");
 
@@ -153,7 +154,9 @@ while (my $line = <F>)
     my $log;
     my $python;
 
+    no warnings;
     if (int($version) >= 9) {
+    use warnings;
       `python resources/installmozmill.py ../mozmill-virtualenv`;
       $python = "$virtualpython";
     }
diff --git a/test/testapps.csv b/test/testapps.csv
index b5f65b0..1c9930e 100644
--- a/test/testapps.csv
+++ b/test/testapps.csv
@@ -1,11 +1,3 @@
-"msys","i686","https://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/5.0-candidates/build1/unsigned/win32/en-US/","thunderbird-_VER_.zip","thunderbird-_VER_.tests.zip",".checksums","https://ftp.mozilla.org/pub/mozilla.org/calendar/lightning/releases/1.0b5rc3/win32/lightning.xpi"
-"linux","i686","https://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/5.0-candidates/build1/linux-i686/en-US/","thunderbird-_VER_.tar.bz2","thunderbird-_VER_.tests.zip",".checksums","https://ftp.mozilla.org/pub/mozilla.org/calendar/lightning/releases/1.0b5rc3/linux/lightning.xpi"
-"linux","x86_64","https://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/5.0-candidates/build1/linux-x86_64/en-US/","thunderbird-_VER_.tar.bz2","thunderbird-_VER_.tests.zip",".checksums","https://ftp.mozilla.org/pub/mozilla.org/calendar/lightning/releases/1.0b5rc3/linux/lightning.xpi"
-
-"msys","i686","https://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/6.0.2-candidates/build2/unsigned/win32/en-US/","thunderbird-_VER_.zip","thunderbird-_VER_.tests.zip",".checksums","https://ftp.mozilla.org/pub/mozilla.org/calendar/lightning/releases/1.0b5rc3/win32/lightning.xpi"
-"linux","i686","https://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/6.0.2-candidates/build2/linux-i686/en-US/","thunderbird-_VER_.tar.bz2","thunderbird-_VER_.tests.zip",".checksums","https://ftp.mozilla.org/pub/mozilla.org/calendar/lightning/releases/1.0b5rc3/linux/lightning.xpi"
-"linux","x86_64","https://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/6.0.2-candidates/build2/linux-x86_64/en-US/","thunderbird-_VER_.tar.bz2","thunderbird-_VER_.tests.zip",".checksums","https://ftp.mozilla.org/pub/mozilla.org/calendar/lightning/releases/1.0b5rc3/linux/lightning.xpi"
-
 "msys","i686","https://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/latest-candidate-comm-release/unsigned/win32/en-US/","thunderbird-_VER_.zip","thunderbird-_VER_.tests.zip",".checksums","https://ftp.mozilla.org/pub/mozilla.org/calendar/lightning/releases/1.0b5rc3/win32/lightning.xpi"
 "linux","i686","https://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/latest-candidate-comm-release/linux-i686/en-US/","thunderbird-_VER_.tar.bz2","thunderbird-_VER_.tests.zip",".checksums","https://ftp.mozilla.org/pub/mozilla.org/calendar/lightning/releases/1.0b5rc3/linux/lightning.xpi"
 "linux","x86_64","https://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/latest-candidate-comm-release/linux-x86_64/en-US/","thunderbird-_VER_.tar.bz2","thunderbird-_VER_.tests.zip",".checksums","https://ftp.mozilla.org/pub/mozilla.org/calendar/lightning/releases/1.0b5rc3/linux/lightning.xpi"

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