[Pkg-mozext-commits] [perspectives-extension] 03/30: Perspectives - Move images to /img folder

David Prévot taffit at alioth.debian.org
Thu Sep 26 22:31:37 UTC 2013


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

taffit pushed a commit to branch debian
in repository perspectives-extension.

commit 567b3434cba2805b939e999891f8ecda44509c39
Author: Dave Schaefer <dave.schaefer at gmail.com>
Date:   Fri Aug 30 22:12:12 2013 -0600

    Perspectives - Move images to /img folder
    
    Helps keep things organized
---
 plugin/chrome/content/about_dialog.xul       |    2 +-
 plugin/chrome/content/firewall.xhtml         |    2 +-
 plugin/chrome/content/help.xhtml             |    2 +-
 plugin/chrome/content/{ => img}/bad.png      |  Bin 4340 -> 4340 bytes
 plugin/chrome/content/{ => img}/default.png  |  Bin 1653 -> 1653 bytes
 plugin/chrome/content/{ => img}/error.png    |  Bin 4567 -> 4567 bytes
 plugin/chrome/content/{ => img}/good.png     |  Bin 1190 -> 1190 bytes
 plugin/chrome/content/{ => img}/progress.gif |  Bin 673 -> 673 bytes
 plugin/chrome/content/statusbar.js           |   10 +++++-----
 plugin/chrome/content/statusbar.xul          |    2 +-
 test/test.html                               |    2 +-
 11 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/plugin/chrome/content/about_dialog.xul b/plugin/chrome/content/about_dialog.xul
index d29cb36..fd67310 100644
--- a/plugin/chrome/content/about_dialog.xul
+++ b/plugin/chrome/content/about_dialog.xul
@@ -14,7 +14,7 @@
     <hbox>
       <separator class="thin" orient="vertical"/>
       <vbox pack="center">
-        <image src="default.png" tooltip="Perspectives"/>
+        <image src="img/default.png" tooltip="Perspectives"/>
       </vbox>
       <vbox>
         <separator class="thin"/>
diff --git a/plugin/chrome/content/firewall.xhtml b/plugin/chrome/content/firewall.xhtml
index 68751c9..c2e2774 100644
--- a/plugin/chrome/content/firewall.xhtml
+++ b/plugin/chrome/content/firewall.xhtml
@@ -16,7 +16,7 @@
 <title>&perspectivesFirewallHelp;</title>
 
 <link rel="stylesheet" type="text/css" href="../../content/css/perspectives.css" />
-<link rel="SHORTCUT ICON" href="../../content/default.png"/>
+<link rel="SHORTCUT ICON" href="../../content/img/default.png"/>
 <script type="text/javascript" src="../../content/common.js"></script>
 
 <script type="text/javascript">
diff --git a/plugin/chrome/content/help.xhtml b/plugin/chrome/content/help.xhtml
index e5b99c3..cf17832 100644
--- a/plugin/chrome/content/help.xhtml
+++ b/plugin/chrome/content/help.xhtml
@@ -16,7 +16,7 @@
 <title>&h1perspectivesHelp;</title>
 
 <link rel="stylesheet" type="text/css" href="../../content/css/perspectives.css" />
-<link rel="SHORTCUT ICON" href="../../content/default.png"/>
+<link rel="SHORTCUT ICON" href="../../content/img/default.png"/>
 <script type="text/javascript" src="../../content/common.js"></script>
 
 <script type="text/javascript">
diff --git a/plugin/chrome/content/bad.png b/plugin/chrome/content/img/bad.png
similarity index 100%
rename from plugin/chrome/content/bad.png
rename to plugin/chrome/content/img/bad.png
diff --git a/plugin/chrome/content/default.png b/plugin/chrome/content/img/default.png
similarity index 100%
rename from plugin/chrome/content/default.png
rename to plugin/chrome/content/img/default.png
diff --git a/plugin/chrome/content/error.png b/plugin/chrome/content/img/error.png
similarity index 100%
rename from plugin/chrome/content/error.png
rename to plugin/chrome/content/img/error.png
diff --git a/plugin/chrome/content/good.png b/plugin/chrome/content/img/good.png
similarity index 100%
rename from plugin/chrome/content/good.png
rename to plugin/chrome/content/img/good.png
diff --git a/plugin/chrome/content/progress.gif b/plugin/chrome/content/img/progress.gif
similarity index 100%
rename from plugin/chrome/content/progress.gif
rename to plugin/chrome/content/img/progress.gif
diff --git a/plugin/chrome/content/statusbar.js b/plugin/chrome/content/statusbar.js
index 9988252..0a79d43 100644
--- a/plugin/chrome/content/statusbar.js
+++ b/plugin/chrome/content/statusbar.js
@@ -88,23 +88,23 @@ var Pers_statusbar = {
 			switch(state){
 			case Pers_statusbar.STATE_SEC:
 				Pers_debug.d_print("main", "Secure Status\n");
-				imgList[j].setAttribute("src", "chrome://perspectives/content/good.png");
+				imgList[j].setAttribute("src", "chrome://perspectives/content/img/good.png");
 				continue;
 			case Pers_statusbar.STATE_NSEC:
 				Pers_debug.d_print("main", "Unsecure Status\n");
-				imgList[j].setAttribute("src", "chrome://perspectives/content/bad.png");
+				imgList[j].setAttribute("src", "chrome://perspectives/content/img/bad.png");
 				continue;
 			case Pers_statusbar.STATE_NEUT:
 				Pers_debug.d_print("main", "Neutral Status\n");
-				imgList[j].setAttribute("src", "chrome://perspectives/content/default.png");
+				imgList[j].setAttribute("src", "chrome://perspectives/content/img/default.png");
 				continue;
 			case Pers_statusbar.STATE_QUERY:
 				Pers_debug.d_print("main", "Querying Status\n");
-				imgList[j].setAttribute("src", "chrome://perspectives/content/progress.gif");
+				imgList[j].setAttribute("src", "chrome://perspectives/content/img/progress.gif");
 				continue;
 			case Pers_statusbar.STATE_ERROR:
 				Pers_debug.d_print("main", "Error Status\n");
-				imgList[j].setAttribute("src", "chrome://perspectives/content/error.png");
+				imgList[j].setAttribute("src", "chrome://perspectives/content/img/error.png");
 				continue;
 			}
 		}
diff --git a/plugin/chrome/content/statusbar.xul b/plugin/chrome/content/statusbar.xul
index 79aaf64..4a25e6d 100644
--- a/plugin/chrome/content/statusbar.xul
+++ b/plugin/chrome/content/statusbar.xul
@@ -29,7 +29,7 @@
 		<!-- <image id="perspective-status-image" /> -->
 		<image 	id="perspective-button-image"
 				class="perspective-status-image-class"
-				src="chrome://perspectives/content/default.png" 
+				src="chrome://perspectives/content/img/default.png"
 				style="width:16px; height:16px;" />
 		<menupopup id="perspective-contextmenu-button" position="after_start">
 		  <menuitem label="&ViewNotaryResults;"   oncommand="Pers_statusbar.open_results_dialog()"/>
diff --git a/test/test.html b/test/test.html
index 93edd64..197bbc3 100644
--- a/test/test.html
+++ b/test/test.html
@@ -1,7 +1,7 @@
 <html>
 <head>
 <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
-<link rel="SHORTCUT ICON" href="../plugin/chrome/content/default.png">
+<link rel="SHORTCUT ICON" href="../plugin/chrome/content/img/default.png">
 <title>Perspectives - Test cases</title>
 
 <!-- Include every file so we can verify that all of the objects are testable in meta_test() -->

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



More information about the Pkg-mozext-commits mailing list