mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 00:12:25 -04:00
add 'get more decks' link
This commit is contained in:
parent
0cd478c0b7
commit
b0835c11c8
4 changed files with 12 additions and 0 deletions
|
@ -13,6 +13,8 @@ appHelpSite="http://ichi2.net/anki/wiki/AnkiWiki"
|
||||||
appIssueTracker="http://code.google.com/p/anki/issues/list"
|
appIssueTracker="http://code.google.com/p/anki/issues/list"
|
||||||
appForum="http://groups.google.com/group/ankisrs/topics"
|
appForum="http://groups.google.com/group/ankisrs/topics"
|
||||||
appReleaseNotes="http://ichi2.net/anki/download/index.html#changes"
|
appReleaseNotes="http://ichi2.net/anki/download/index.html#changes"
|
||||||
|
appMoreDecks="http://ichi2.net/anki/wiki/ExtraDecks"
|
||||||
|
|
||||||
modDir=os.path.dirname(os.path.abspath(__file__))
|
modDir=os.path.dirname(os.path.abspath(__file__))
|
||||||
runningDir=os.path.split(modDir)[0]
|
runningDir=os.path.split(modDir)[0]
|
||||||
# py2exe
|
# py2exe
|
||||||
|
|
|
@ -754,6 +754,8 @@ class AnkiQt(QMainWindow):
|
||||||
self.onOpen()
|
self.onOpen()
|
||||||
elif str == "openrem":
|
elif str == "openrem":
|
||||||
self.onOpenOnline()
|
self.onOpenOnline()
|
||||||
|
elif str == "more":
|
||||||
|
QDesktopServices.openUrl(QUrl(ankiqt.appMoreDecks))
|
||||||
if str == "addfacts":
|
if str == "addfacts":
|
||||||
if not self.deck:
|
if not self.deck:
|
||||||
self.onNew()
|
self.onNew()
|
||||||
|
|
|
@ -230,6 +230,13 @@ Start adding your own material.</td>
|
||||||
<td valign=middle><h2><a href="welcome:sample">Open Sample Deck</a></h2></td>
|
<td valign=middle><h2><a href="welcome:sample">Open Sample Deck</a></h2></td>
|
||||||
</tr>
|
</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>"""))
|
</table>"""))
|
||||||
|
|
||||||
def drawDeckFinishedMessage(self):
|
def drawDeckFinishedMessage(self):
|
||||||
|
|
1
icons/.gitignore
vendored
Normal file
1
icons/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
/.directory
|
Loading…
Reference in a new issue