commit 41b772da4d14a4572f3f8146927104d221d2b963
parent e3061289a540b4b5ffaaee87d0f4cf98b6097112
Author: Dan Stillman <dstillman@zotero.org>
Date: Mon, 6 Jul 2015 00:49:35 -0400
Show the save button guidance panel again, now that it doesn't hide too easily
Diffstat:
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js
@@ -2191,7 +2191,7 @@ Zotero.Prefs = new function(){
if (!fromVersion) {
fromVersion = 0;
}
- var toVersion = 1;
+ var toVersion = 2;
if (fromVersion < toVersion) {
for (var i = fromVersion + 1; i <= toVersion; i++) {
switch (i) {
@@ -2207,6 +2207,14 @@ Zotero.Prefs = new function(){
this.set('sync.storage.downloadMode.groups', 'on-sync');
}
}
+ break;
+
+ case 2:
+ // Re-show saveButton guidance panel (and clear old saveIcon pref).
+ // The saveButton guidance panel initially could auto-hide too easily.
+ this.clear('firstRunGuidanceShown.saveIcon');
+ this.clear('firstRunGuidanceShown.saveButton');
+ break;
}
}
this.set('prefVersion', toVersion);