Skip to content

Commit

Permalink
Latest details before 3.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
marticliment committed Mar 1, 2022
1 parent 1c65d63 commit 7488e38
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions elevenclock-version-info
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ StringFileInfo(
u'040904B0',
[StringStruct(u'CompanyName', u'The ElevenClock Project'),
StringStruct(u'FileDescription', u'ElevenClock'),
StringStruct(u'FileVersion', u'3.2.3'),
StringStruct(u'FileVersion', u'3.3.0'),
StringStruct(u'InternalName', u'ElevenClock'),
StringStruct(u'LegalCopyright', u'The ElevenClock Project'),
StringStruct(u'OriginalFilename', u'elevenclock.exe'),
StringStruct(u'ProductName', u'ElevenClock'),
StringStruct(u'ProductVersion', u'3.2.3')])
StringStruct(u'ProductVersion', u'3.3.0')])
]),
VarFileInfo([VarStruct(u'Translation', [1033, 1200])])
]
Expand Down
15 changes: 7 additions & 8 deletions elevenclock/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1272,9 +1272,9 @@ def window(self) -> Clock:
globals.restartClocks = restartClocks # Register global functions
globals.closeClocks = closeClocks # Register global functions

if not(getSettings("Updated3.21Already")) and not(getSettings("EnableSilentUpdates")):
if not(getSettings("Updated3.3Already")) and not(getSettings("EnableSilentUpdates")):
setSettings("ForceClockOnFirstMonitor", True)
setSettings("Updated3.21Already", True)
setSettings("Updated3.3Already", True)
msg = QFramelessDialog(parent=None, closeOnClick=False)
msg.setAutoFillBackground(True)
msg.setStyleSheet(sw.styleSheet())
Expand All @@ -1283,12 +1283,11 @@ def window(self) -> Clock:
msg.setTitle("ElevenClock Updater")
msg.setText(f"""<b>ElevenClock has updated to version {versionName} successfully.</b>
<br><br>This update brings:<br>
<ul><li>The ability to specify a clock minimum width</li>
<li> The ability to search through the settings</li>
<li> Fixed an aesthetic issue with the seconds</li>
<li> Added a button to reset ElevenClock</li>
<li> Fixed an issue where ElevenClock would crash when clicking the right-click menu</li>
<li> Added Nynorsk</li>
<ul><li><b>The ability to specify a custom date and time format</b></li>
<li> The ability to move individual clocks to the top</li>
<li> Fixed an issue where the context menu would crash</li>
<li> Fixed an issue with language input switcher</li>
<li> Added tooltips to the clock</li>
<li> Some bugfixing and other improvements</li></ul>""")
msg.addButton("Ok", QDialogButtonBox.ButtonRole.ApplyRole, lambda: msg.close())
msg.addButton("Full changelog", QDialogButtonBox.ButtonRole.ResetRole, lambda: os.startfile("https://github.com/martinet101/ElevenClock/releases"))
Expand Down
1 change: 1 addition & 0 deletions elevenclock/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -2411,6 +2411,7 @@ def contextMenuEvent(self, e: QtGui.QContextMenuEvent) -> None:
self.edit.setStyleSheet("QPlainTextEdit{font-size: 13pt;}")
self.rulesLabel = QLabel(self)
self.rulesLabel.setOpenExternalLinks(True)
self.rulesLabel.setWordWrap(True)
self.stateChanged.connect(self.resizeEvent)
self.button.clicked.connect(lambda: self.valueChanged.emit(self.edit.toPlainText().strip()))

Expand Down
4 changes: 2 additions & 2 deletions elevenclock/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
import win32gui
from win32con import *

version = 3.29
versionName = "3.3.0-beta"
version = 3.3
versionName = "3.3.0"

def _(s): #Translate function
global lang
Expand Down

0 comments on commit 7488e38

Please sign in to comment.