[Pkg-mozext-commits] [itsalltext] 48/459: * cleaned up button * only show apps in the browser

David Prévot taffit at moszumanska.debian.org
Tue Feb 24 23:26:05 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 924741b88946835581b54a888975bf878023a78b
Author: Christian Höltje <docwhat at gerf.org>
Date:   Wed Jan 3 21:43:03 2007 -0500

    * cleaned up button
    * only show apps in the browser
---
 chrome/content/preferences.js  | 2 +-
 chrome/content/preferences.xul | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/chrome/content/preferences.js b/chrome/content/preferences.js
index 2030bf4..5b28a13 100644
--- a/chrome/content/preferences.js
+++ b/chrome/content/preferences.js
@@ -15,7 +15,7 @@ function pref_editor_select() {
   var fp = Components.classes["@mozilla.org/filepicker;1"].
     createInstance(nsIFilePicker);
   fp.init(window, "Choose your editor", nsIFilePicker.modeOpen);
-  fp.appendFilters(nsIFilePicker.filterAll | nsIFilePicker.filterApps);
+  fp.appendFilters(nsIFilePicker.filterApps);
 
   var initdir = Components.classes["@mozilla.org/file/local;1"].
     createInstance(Components.interfaces.nsILocalFile);
diff --git a/chrome/content/preferences.xul b/chrome/content/preferences.xul
index 3bdaafc..761c5bc 100644
--- a/chrome/content/preferences.xul
+++ b/chrome/content/preferences.xul
@@ -23,7 +23,7 @@
     <hbox align="right">
       <label control="editor" value="Editor (needs full path): "/>
       <textbox preference="pref_editor" id="editor" size="20"/>
-      <button oncommand="pref_editor_select();"><description>Browse</description></button>
+      <button oncommand="pref_editor_select();" label="Browse" accesskey="b"/>
     </hbox>
     <hbox align="right">
       <label control="seconds" value="Seconds between refreshing: "/>

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