Skip to content

Commit

Permalink
🍱 New icon
Browse files Browse the repository at this point in the history
  • Loading branch information
volatile-static committed Jan 26, 2024
1 parent 6e2f23c commit 1a654c3
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Binary file modified addon/content/icons/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified addon/content/icons/icon32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed addon/content/icons/icon@16px.png
Binary file not shown.
2 changes: 1 addition & 1 deletion src/bootstrap/addon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export default class Addon extends toolBase.BasicTool {
tag: 'menuitem',
label: this.locale.overview,
commandListener: openOverview,
icon: `chrome://${config.addonName}/content/icons/icon@16px.png`,
icon: `chrome://${config.addonName}/content/icons/icon32.png`,
});
buildRecentMenu();
if (__dev__)
Expand Down
10 changes: 5 additions & 5 deletions src/bootstrap/modules/debug.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,35 +5,35 @@ export function addDebugMenu() {
addon.menu.register('item', {
tag: 'menuitem',
label: 'log to console',
icon: `chrome://${config.addonName}/content/icons/icon@16px.png`,
icon: `chrome://${config.addonName}/content/icons/icon32.png`,
commandListener: () => addon.log(ZoteroPane.getSelectedItems())
});

addon.menu.register('collection', { tag: 'menuseparator' });
addon.menu.register('collection', {
tag: 'menuitem',
label: 'log to console',
icon: `chrome://${config.addonName}/content/icons/icon@16px.png`,
icon: `chrome://${config.addonName}/content/icons/icon32.png`,
commandListener: () => addon.log(ZoteroPane.getCollectionTreeRow()?.ref)
});

addon.menu.register('menuHelp', { tag: 'menuseparator' });
addon.menu.register('menuHelp', {
tag: 'menuitem',
label: 'log reader to console',
icon: `chrome://${config.addonName}/content/icons/icon@16px.png`,
icon: `chrome://${config.addonName}/content/icons/icon32.png`,
commandListener: () => addon.log(Zotero.Reader.getByTabID(Zotero_Tabs.selectedID))
});
addon.menu.register('menuHelp', {
tag: 'menuitem',
label: 'log main items to console',
icon: `chrome://${config.addonName}/content/icons/icon@16px.png`,
icon: `chrome://${config.addonName}/content/icons/icon32.png`,
commandListener: () => addon.log((<any>addon.history)._mainItems)
});
addon.menu.register('menuHelp', {
tag: 'menuitem',
label: 'open dev tools',
icon: `chrome://${config.addonName}/content/icons/icon@16px.png`,
icon: `chrome://${config.addonName}/content/icons/icon32.png`,
commandListener: () => {
const env =
Services.env ||
Expand Down

0 comments on commit 1a654c3

Please sign in to comment.