www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 43c57ec18c08809a77665baad1b35e6ab9b62ff2
parent 35c44b74705f8b829cbd5f6069f912ba7da2975b
Author: Simon Kornblith <simon@simonster.com>
Date:   Tue,  6 Jul 2010 10:37:16 +0000

closes #1688, Preferences window appears in wrong screen position on Windows


Diffstat:
Mchrome/content/zotero/overlay.js | 2+-
Mchrome/content/zotero/preferences/preferences.xul | 5++---
2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/chrome/content/zotero/overlay.js b/chrome/content/zotero/overlay.js @@ -2397,7 +2397,7 @@ var ZoteroPane = new function() }; window.openDialog('chrome://zotero/content/preferences/preferences.xul', 'zotero-prefs', - 'chrome,titlebar,toolbar,' + 'chrome,titlebar,toolbar,centerscreen,' + Zotero.Prefs.get('browser.preferences.instantApply', true) ? 'dialog=no' : 'modal', io ); diff --git a/chrome/content/zotero/preferences/preferences.xul b/chrome/content/zotero/preferences/preferences.xul @@ -40,7 +40,7 @@ To add a new preference: in Zotero.Prefs.observe() --> -<prefwindow id="zotero-prefs" title="&zotero.preferences.title;" onload="moveToAlertPosition(); init()" onunload="Zotero_Preferences.onUnload()" +<prefwindow id="zotero-prefs" title="&zotero.preferences.title;" onload="init()" onunload="Zotero_Preferences.onUnload()" windowtype="zotero:pref" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" style="min-height: 600px"> @@ -840,4 +840,4 @@ To add a new preference: ]]> </script> <script src="preferences.js"/> -</prefwindow> -\ No newline at end of file +</prefwindow>