1
0
mirror of https://github.com/ciromattia/kcc synced 2025-12-26 08:01:52 +00:00

Updated status messages

This commit is contained in:
Paweł Jastrzębski
2013-07-10 08:50:52 +02:00
parent 2e99d6ee0a
commit 1c2e57adb6

View File

@@ -88,7 +88,8 @@ class VersionThread(QtCore.QThread):
return
latestVersion = XML.childNodes[0].getElementsByTagName('latest')[0].childNodes[0].toxml()
if tuple(map(int, (latestVersion.split(".")))) > tuple(map(int, (__version__.split(".")))):
self.emit(QtCore.SIGNAL("addMessage"), '<b>New version is available!</b>', 'warning')
self.emit(QtCore.SIGNAL("addMessage"), '<a href="http://kcc.vulturis.eu/">'
'<b>New version is available!</b></a>', 'warning')
# noinspection PyBroadException
@@ -346,6 +347,8 @@ class Ui_KCC(object):
if value == 11 and (start or self.currentMode != 3):
GUI.BasicModeButton.setEnabled(False)
GUI.AdvModeButton.setEnabled(False)
self.addMessage('<a href="https://github.com/ciromattia/kcc/wiki/NonKindle-devices">'
'List of supported Non-Kindle devices</a>', 'info')
self.modeExpert()
elif self.currentMode == 3:
GUI.BasicModeButton.setEnabled(True)