- fix preference links
- fix tab mode tooltip - zotero://fullscreen opens standalone
This commit is contained in:
parent
701845fa0a
commit
3fd0523b6e
6 changed files with 9 additions and 8 deletions
|
@ -315,7 +315,7 @@ var ZoteroOverlay = new function()
|
|||
} else { // Zotero is running in the pane
|
||||
if(setMode === false) return;
|
||||
// close Zotero pane
|
||||
this.toggleDisplay();
|
||||
this.toggleDisplay(false);
|
||||
|
||||
// open Zotero tab
|
||||
this.isTab = true;
|
||||
|
|
|
@ -572,7 +572,7 @@ To add a new preference:
|
|||
<label id="wordProcessors-noWordProcessorPluginsInstalled" width="45em" hidden="true">
|
||||
&zotero.preferences.cite.wordProcessors.noWordProcessorPluginsInstalled;
|
||||
</label>
|
||||
<label id="wordProcessors-getWordProcessorPlugins" class="text-link" href="http://www.zotero.org/support/word_processor_plugin_installation#word_processor_plugins_for_zotero_2.0" value="&zotero.preferences.cite.wordProcessors.getPlugins;"/>
|
||||
<label id="wordProcessors-getWordProcessorPlugins" class="text-link" href="&zotero.preferences.cite.wordProcessor.getPlugins.url;" value="&zotero.preferences.cite.wordProcessors.getPlugins;"/>
|
||||
</tabpanel>
|
||||
<tabpanel orient="vertical" id="styles">
|
||||
<groupbox flex="1">
|
||||
|
|
|
@ -389,7 +389,7 @@
|
|||
</tooltip>
|
||||
</toolbarbutton>
|
||||
<toolbarseparator id="zotero-fullscreen-close-separator"/>
|
||||
<toolbarbutton id="zotero-tb-fullscreen" tooltiptext="&zotero.toolbar.fullscreen.tooltip;" oncommand="ZoteroPane.toggleTab();" class="zotero-tb-button"/>
|
||||
<toolbarbutton id="zotero-tb-fullscreen" tooltiptext="&zotero.toolbar.tab.tooltip;" oncommand="ZoteroPane.toggleTab();" class="zotero-tb-button"/>
|
||||
<toolbarbutton id="zotero-close-button" class="tabs-closebutton" oncommand="ZoteroOverlay.toggleDisplay()"/>
|
||||
</hbox>
|
||||
<!-- TODO: localize -->
|
||||
|
|
|
@ -104,6 +104,7 @@
|
|||
<!ENTITY zotero.preferences.cite.wordProcessors "Word Processors">
|
||||
<!ENTITY zotero.preferences.cite.wordProcessors.noWordProcessorPluginsInstalled "No word processor plug-ins are currently installed.">
|
||||
<!ENTITY zotero.preferences.cite.wordProcessors.getPlugins "Get word processor plug-ins...">
|
||||
<!ENTITY zotero.preferences.cite.wordProcessors.getPlugins.url "http://www.zotero.org/support/word_processor_plugin_installation">
|
||||
|
||||
<!ENTITY zotero.preferences.cite.styles.styleManager "Style Manager">
|
||||
<!ENTITY zotero.preferences.cite.styles.styleManager.title "Title">
|
||||
|
|
|
@ -87,7 +87,7 @@
|
|||
<!ENTITY zotero.toolbar.supportAndDocumentation "Support and Documentation">
|
||||
<!ENTITY zotero.toolbar.about.label "About Zotero">
|
||||
<!ENTITY zotero.toolbar.advancedSearch "Advanced Search">
|
||||
<!ENTITY zotero.toolbar.fullscreen.tooltip "Toggle Fullscreen Mode">
|
||||
<!ENTITY zotero.toolbar.tab.tooltip "Toggle Tab Mode">
|
||||
<!ENTITY zotero.toolbar.openURL.label "Locate">
|
||||
<!ENTITY zotero.toolbar.openURL.tooltip "Find through your local library">
|
||||
|
||||
|
|
|
@ -880,10 +880,10 @@ function ChromeExtensionHandler() {
|
|||
.wrappedJSObject;
|
||||
|
||||
generateContent: try {
|
||||
var win = Components.classes["@mozilla.org/appshell/window-mediator;1"]
|
||||
.getService(Components.interfaces.nsIWindowMediator)
|
||||
.getMostRecentWindow("navigator:browser");
|
||||
win.ZoteroOverlay.toggleTab(true);
|
||||
var window = Components.classes["@mozilla.org/embedcomp/window-watcher;1"]
|
||||
.getService(Components.interfaces.nsIWindowWatcher)
|
||||
.openWindow(null, 'chrome://zotero/content/standalone.xul', '',
|
||||
'chrome,centerscreen,resizable', null);
|
||||
}
|
||||
catch (e) {
|
||||
Zotero.debug(e);
|
||||
|
|
Loading…
Reference in a new issue