~kamalmostafa/ubuntu/lucid/firegpg/fix-515872-ftbfs

« back to all changes in this revision

Viewing changes to content/Dialogs/Keymanager/wait.xul

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Kahn Gillmor
  • Date: 2009-11-17 01:49:16 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20091117014916-mk2h2odgagazlq9r
Tags: 0.7.10-1
* New Upstream Version (Closes: #556568)
* moved defaults/preferences/firegpg.js into
  /etc/mozilla-extensions/firegpg.js per Mike Hommey's good suggestion.

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
 
43
43
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
44
44
<!DOCTYPE prefwindow SYSTEM "chrome://firegpg/locale/keymanager.dtd">
45
 
<window id="wait-dialog" title=" " orient="vertical" autostretch="always"     onload="sizeToContent(); this.opened=true; " buttons=""
46
 
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
45
<window id="wait-dialog" title=" " orient="vertical" autostretch="always"     onload="sizeToContent(); this.opened=true;
 
46
 
 
47
    var prefs = Components.classes['@mozilla.org/preferences-service;1'].
 
48
                                       getService(Components.interfaces.nsIPrefService);
 
49
                    prefs = prefs.getBranch('extensions.firegpg.');
 
50
 
 
51
                    var hideyourself  = false;
 
52
                    try {
 
53
                        hideyourself = prefs.getBoolPref('hide_the_wait_window');
 
54
                    } catch (e) { hideyourself = false; }
 
55
 
 
56
                    if (hideyourself)
 
57
                        setTimeout('this.close()', 300);
 
58
 
 
59
" buttons=""
 
60
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onclick="close();">
47
61
 
48
62
    <image src="chrome://firegpg/skin/wait.png" />
49
63