mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
fix release notes link
This commit is contained in:
parent
8720751465
commit
b79234eba0
3 changed files with 7 additions and 4 deletions
|
@ -12,6 +12,7 @@ appWiki="http://ichi2.net/anki/wiki/"
|
|||
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"
|
||||
modDir=os.path.dirname(os.path.abspath(__file__))
|
||||
runningDir=os.path.split(modDir)[0]
|
||||
# py2exe
|
||||
|
|
|
@ -962,6 +962,9 @@ class AnkiQt(QMainWindow):
|
|||
def onForum(self):
|
||||
QDesktopServices.openUrl(QUrl(ankiqt.appForum))
|
||||
|
||||
def onReleaseNotes(self):
|
||||
QDesktopServices.openUrl(QUrl(ankiqt.appReleaseNotes))
|
||||
|
||||
def onAbout(self):
|
||||
ui.about.show(self)
|
||||
|
||||
|
@ -1217,6 +1220,7 @@ class AnkiQt(QMainWindow):
|
|||
self.connect(m.actionEnableAllPlugins, s, self.onEnableAllPlugins)
|
||||
self.connect(m.actionDisableAllPlugins, s, self.onDisableAllPlugins)
|
||||
self.connect(m.actionActiveTags, s, self.onActiveTags)
|
||||
self.connect(m.actionReleaseNotes, s, self.onReleaseNotes)
|
||||
|
||||
def enableDeckMenuItems(self, enabled=True):
|
||||
"setEnabled deck-related items."
|
||||
|
|
|
@ -345,8 +345,6 @@
|
|||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
<zorder>help</zorder>
|
||||
<zorder>mainTextFrame</zorder>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
|
@ -371,7 +369,7 @@
|
|||
<addaction name="separator" />
|
||||
<addaction name="actionReportbug" />
|
||||
<addaction name="actionForum" />
|
||||
<addaction name="actionRelease_Notes" />
|
||||
<addaction name="actionReleaseNotes" />
|
||||
<addaction name="separator" />
|
||||
<addaction name="actionAbout" />
|
||||
<addaction name="separator" />
|
||||
|
@ -963,7 +961,7 @@
|
|||
<string>C&ram..</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionRelease_Notes" >
|
||||
<action name="actionReleaseNotes" >
|
||||
<property name="icon" >
|
||||
<iconset resource="../icons.qrc" >
|
||||
<normaloff>:/icons/kblogger.png</normaloff>:/icons/kblogger.png</iconset>
|
||||
|
|
Loading…
Reference in a new issue