fix release notes link

This commit is contained in:
Damien Elmes 2008-10-12 07:17:49 +09:00
parent 8720751465
commit b79234eba0
3 changed files with 7 additions and 4 deletions

View file

@ -12,6 +12,7 @@ appWiki="http://ichi2.net/anki/wiki/"
appHelpSite="http://ichi2.net/anki/wiki/AnkiWiki" 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"
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

View file

@ -962,6 +962,9 @@ class AnkiQt(QMainWindow):
def onForum(self): def onForum(self):
QDesktopServices.openUrl(QUrl(ankiqt.appForum)) QDesktopServices.openUrl(QUrl(ankiqt.appForum))
def onReleaseNotes(self):
QDesktopServices.openUrl(QUrl(ankiqt.appReleaseNotes))
def onAbout(self): def onAbout(self):
ui.about.show(self) ui.about.show(self)
@ -1217,6 +1220,7 @@ class AnkiQt(QMainWindow):
self.connect(m.actionEnableAllPlugins, s, self.onEnableAllPlugins) self.connect(m.actionEnableAllPlugins, s, self.onEnableAllPlugins)
self.connect(m.actionDisableAllPlugins, s, self.onDisableAllPlugins) self.connect(m.actionDisableAllPlugins, s, self.onDisableAllPlugins)
self.connect(m.actionActiveTags, s, self.onActiveTags) self.connect(m.actionActiveTags, s, self.onActiveTags)
self.connect(m.actionReleaseNotes, s, self.onReleaseNotes)
def enableDeckMenuItems(self, enabled=True): def enableDeckMenuItems(self, enabled=True):
"setEnabled deck-related items." "setEnabled deck-related items."

View file

@ -345,8 +345,6 @@
</widget> </widget>
</item> </item>
</layout> </layout>
<zorder>help</zorder>
<zorder>mainTextFrame</zorder>
</widget> </widget>
</item> </item>
</layout> </layout>
@ -371,7 +369,7 @@
<addaction name="separator" /> <addaction name="separator" />
<addaction name="actionReportbug" /> <addaction name="actionReportbug" />
<addaction name="actionForum" /> <addaction name="actionForum" />
<addaction name="actionRelease_Notes" /> <addaction name="actionReleaseNotes" />
<addaction name="separator" /> <addaction name="separator" />
<addaction name="actionAbout" /> <addaction name="actionAbout" />
<addaction name="separator" /> <addaction name="separator" />
@ -963,7 +961,7 @@
<string>C&amp;ram..</string> <string>C&amp;ram..</string>
</property> </property>
</action> </action>
<action name="actionRelease_Notes" > <action name="actionReleaseNotes" >
<property name="icon" > <property name="icon" >
<iconset resource="../icons.qrc" > <iconset resource="../icons.qrc" >
<normaloff>:/icons/kblogger.png</normaloff>:/icons/kblogger.png</iconset> <normaloff>:/icons/kblogger.png</normaloff>:/icons/kblogger.png</iconset>