add 'get more decks' link

This commit is contained in:
Damien Elmes 2008-10-18 19:30:56 +09:00
parent 0cd478c0b7
commit b0835c11c8
4 changed files with 12 additions and 0 deletions

View file

@ -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

View file

@ -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()

View file

@ -230,6 +230,13 @@ Start adding your own material.</td>
<td valign=middle><h2><a href="welcome:sample">Open Sample Deck</a></h2></td>
</tr>
<tr>
<td width=50>
<a href="welcome:more"><img src=":/icons/khtml_kget.png"></a>
</td>
<td valign=middle><h2><a href="welcome:more">Get More Decks</a></h2></td>
</tr>
</table>"""))
def drawDeckFinishedMessage(self):

1
icons/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/.directory