[Pkg-mozext-commits] [itsalltext] 16/459: Turned off flashing. Fixed maxlength in preferences.

David Prévot taffit at moszumanska.debian.org
Tue Feb 24 23:26:01 UTC 2015


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

taffit pushed a commit to branch master
in repository itsalltext.

commit da7079503d7ab5d28e3ad348844e46fc8567fb6d
Author: docwhat at gerf.org <docwhat at gerf.org>
Date:   Mon Dec 11 10:42:16 2006 -0500

    Turned off flashing.  Fixed maxlength in preferences.
---
 chrome/content/itsalltext.js | 7 -------
 chrome/content/options.xul   | 6 +++---
 2 files changed, 3 insertions(+), 10 deletions(-)

diff --git a/chrome/content/itsalltext.js b/chrome/content/itsalltext.js
index 24890a2..b2b92aa 100644
--- a/chrome/content/itsalltext.js
+++ b/chrome/content/itsalltext.js
@@ -362,13 +362,6 @@ function ItsAllTextOverlay() {
     //that.log('refreshNode(): '+cobj);
 
     if(!cobj) { return; }
-    if (!cobj._narf) {
-      cobj._narf = true;
-      cobj.node.style.backgroundColor = '#ddf';
-    } else {
-      cobj._narf = false;
-      cobj.node.style.backgroundColor = '#dfd';
-    }
     cobj.update();
   };
 
diff --git a/chrome/content/options.xul b/chrome/content/options.xul
index b00f00d..35b761c 100644
--- a/chrome/content/options.xul
+++ b/chrome/content/options.xul
@@ -18,16 +18,16 @@
   <vbox> 
     <hbox align="right">
       <label control="editor" value="Editor (needs full path): "/>
-      <textbox preference="pref_editor" id="editor" maxlength="20"/>
+      <textbox preference="pref_editor" id="editor" size="20"/>
     </hbox>
     <hbox align="right">
       <label control="seconds" value="Seconds between refreshing: "/>
-      <textbox preference="pref_seconds" id="seconds" maxlength="2"/>
+      <textbox preference="pref_seconds" id="seconds" size="2" maxlength="2"/>
     </hbox>
     <hbox align="right">
       <label control="charset"
              value="Character Set (default: UTF-8): "/>
-      <textbox preference="pref_charset" id="charset" maxlength="8"/>
+      <textbox preference="pref_charset" id="charset" size="8"/>
     </hbox>
   </vbox>
 </prefpane>

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



More information about the Pkg-mozext-commits mailing list