diff --git a/ankiqt/__init__.py b/ankiqt/__init__.py index 17c55e965..f175739d8 100644 --- a/ankiqt/__init__.py +++ b/ankiqt/__init__.py @@ -13,6 +13,8 @@ appHelpSite="http://ichi2.net/anki/wiki/AnkiWiki" appIssueTracker="http://code.google.com/p/anki/issues/list" appForum="http://groups.google.com/group/ankisrs/topics" appReleaseNotes="http://ichi2.net/anki/download/index.html#changes" +appMoreDecks="http://ichi2.net/anki/wiki/ExtraDecks" + modDir=os.path.dirname(os.path.abspath(__file__)) runningDir=os.path.split(modDir)[0] # py2exe diff --git a/ankiqt/ui/main.py b/ankiqt/ui/main.py index 407945c30..efc483793 100644 --- a/ankiqt/ui/main.py +++ b/ankiqt/ui/main.py @@ -754,6 +754,8 @@ class AnkiQt(QMainWindow): self.onOpen() elif str == "openrem": self.onOpenOnline() + elif str == "more": + QDesktopServices.openUrl(QUrl(ankiqt.appMoreDecks)) if str == "addfacts": if not self.deck: self.onNew() diff --git a/ankiqt/ui/view.py b/ankiqt/ui/view.py index 5a119d8b9..d17452370 100644 --- a/ankiqt/ui/view.py +++ b/ankiqt/ui/view.py @@ -230,6 +230,13 @@ Start adding your own material.

Open Sample Deck

+ + + + +

Get More Decks

+ + """)) def drawDeckFinishedMessage(self): diff --git a/icons/.gitignore b/icons/.gitignore new file mode 100644 index 000000000..5aed21265 --- /dev/null +++ b/icons/.gitignore @@ -0,0 +1 @@ +/.directory