Skip to content

Anki 2.1, Relax Constraints#1

Open
cofinley wants to merge 8 commits intoHelenFoster:masterfrom
ll-in-anki:master
Open

Anki 2.1, Relax Constraints#1
cofinley wants to merge 8 commits intoHelenFoster:masterfrom
ll-in-anki:master

Conversation

@cofinley
Copy link

  • Allow for whole packages, not just single-file addons
  • Don't force before/after functions to be present
  • Fix keyboard shortcut
  • Change to PyQt5 syntax for some triggers

_() translation function was not the function to use here. QKeySequence
is what recognizes shortcuts.
If reloading an addon that creates a Tools menu item on init, there will
be duplicate items. This has to be handled on a case-by-case basis since
not all addons are initialized the same way or even have menu items.
Tell users how to avoid this if they wish to do so.
@HelenFoster
Copy link
Owner

Hi, sorry I took so long to look at this. It seems like a substantial rewrite, or more like your new addon based on mine, so I'd be reluctant to take responsibility for it. If you'd like to share your version on AnkiWeb yourself, I could put a link in the readme over here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants