Don't show "Status bar icon:" pref for Firefox 29+

This commit is contained in:
Dan Stillman 2014-04-28 19:26:53 -04:00
parent b47c80912c
commit a8f9b704e3
2 changed files with 9 additions and 1 deletions

View file

@ -34,6 +34,14 @@ Zotero_Preferences.General = {
'zotero.preferences.launchNonNativeFiles', Zotero.appName
);
}
// Only show icon options for Firefox <29
if (Zotero.platformMajorVersion < 29) {
let statusBarRow = document.getElementById('zotero-prefpane-general-statusBarIcon-row');
if (statusBarRow) {
statusBarRow.hidden = false;
}
}
},
/**

View file

@ -48,7 +48,7 @@
<radio id="zotero-prefpane-general-showIn-appTab" label="&zotero.preferences.showIn.appTab;" value="3"/>
</radiogroup>
</row>
<row position="2" id="zotero-prefpane-general-statusBarIcon-row">
<row position="2" id="zotero-prefpane-general-statusBarIcon-row" hidden="true">
<hbox align="center">
<label id="statusBarIcon-label" value="&zotero.preferences.statusBarIcon;" control="statusBarIcon"/>
</hbox>