Skip to content

Commit

Permalink
Last tweaking before 2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
marticliment committed Nov 7, 2021
1 parent 344651a commit 08a4611
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions elevenclock/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1332,6 +1332,7 @@ def restartElevenClockByLangChange():
self.updatesChBx.setStyleSheet(f"QWidget#stChkBg{{border-bottom-left-radius: {self.getPx(6)}px;border-bottom-right-radius: {self.getPx(6)}px;border-bottom: 1px;}}")
self.updatesChBx.stateChanged.connect(lambda i: setSettings("EnableWin32API", bool(i)))
layout.addWidget(self.updatesChBx)
layout.addSpacing(10)

self.languageSettingsTitle = QIconLabel(_("About the language pack:").format(version), getPath(f"lang_{self.iconMode}.png"))
layout.addWidget(self.languageSettingsTitle)
Expand Down Expand Up @@ -2173,11 +2174,11 @@ def getPx(self, original) -> int:
signal.restartSignal.connect(lambda: restartClocks("checkLoop"))
loadClocks()

if not(getSettings("Updated2.5Already")) and not(getSettings("EnableSilentUpdates")):
print("Show2.5Welcome")
if not(getSettings("Updated2.6Already")) and not(getSettings("EnableSilentUpdates")):
print("Show2.6Welcome")
sw.show()
setSettings("Updated2.5Already", True)
QMessageBox.information(sw, "ElevenClock updated!", "ElevenClock has updated to version 2.5 sucessfully. On this release:\n\n - Elevenclock can hide when using Cytrix Workspace\n - ElevenClock can be forced to show with black text\n - If silent updates enables, user won't see this popup\n - ElevenClock has an in-app log viewer (can be opened from settings)\n - Hover effect improvements\n - Much more!")
setSettings("Updated2.6Already", True)
QMessageBox.information(sw, "ElevenClock updated!", "ElevenClock has updated to version 2.6 sucessfully. On this release:\n\n - Elevenclock will hide on all full-screen software that uses more than one monitor\n - ElevenClock now reports exceptions on the log\n - Updated to Qt6, fixing an issue with clock on wrong positions\n - ElevenClock has a better font\n - ElevenClock has a show desktop button\n - Added Japanese, Simplified Chinese (China), Finnish and Indonesian\n - If silent updates enabled, ElevenClock will only update if user is inactive\n - Lots of performance improvements!")

showSettings = False
if("--settings" in sys.argv or showSettings):
Expand Down

0 comments on commit 08a4611

Please sign in to comment.