From 41b772da4d14a4572f3f8146927104d221d2b963 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 6 Jul 2015 00:49:35 -0400 Subject: [PATCH] Show the save button guidance panel again, now that it doesn't hide too easily --- chrome/content/zotero/xpcom/zotero.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js index 94a4bc804..80999be4a 100644 --- 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);