From 883cb08e545b65b5dbd3b909b691b73be3a36484 Mon Sep 17 00:00:00 2001 From: Tamara Hogenhout Date: Mon, 26 Oct 2015 13:58:43 +0100 Subject: [PATCH] moves the changelog from on-startup to the extensions menu contributes to #CURA-243 --- plugins/ChangeLogPlugin/ChangeLog.py | 5 +++-- plugins/ChangeLogPlugin/__init__.py | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/plugins/ChangeLogPlugin/ChangeLog.py b/plugins/ChangeLogPlugin/ChangeLog.py index d83466f0c6..4d4c3762f6 100644 --- a/plugins/ChangeLogPlugin/ChangeLog.py +++ b/plugins/ChangeLogPlugin/ChangeLog.py @@ -31,6 +31,7 @@ class ChangeLog(Extension, QObject,): self._change_logs = None Application.getInstance().engineCreatedSignal.connect(self._onEngineCreated) Preferences.getInstance().addPreference("general/latest_version_changelog_shown", "15.05.90") #First version of CURA with uranium + self.addMenuItem(catalog.i18nc("@item:inmenu", "Show Changelog"), self.showChangelog) #self.showChangelog() def getChangeLogs(self): @@ -77,8 +78,8 @@ class ChangeLog(Extension, QObject,): def _onEngineCreated(self): if not self._version: return #We're on dev branch. - if self._version > Preferences.getInstance().getValue("general/latest_version_changelog_shown"): - self.showChangelog() + #if self._version > Preferences.getInstance().getValue("general/latest_version_changelog_shown"): + #self.showChangelog() def showChangelog(self): if not self._changelog_window: diff --git a/plugins/ChangeLogPlugin/__init__.py b/plugins/ChangeLogPlugin/__init__.py index 431a93c395..40c0621a63 100644 --- a/plugins/ChangeLogPlugin/__init__.py +++ b/plugins/ChangeLogPlugin/__init__.py @@ -9,7 +9,7 @@ catalog = i18nCatalog("cura") def getMetaData(): return { "plugin": { - "name": catalog.i18nc("@label", "Change Log"), + "name": catalog.i18nc("@label", "Changelog"), "author": "Ultimaker", "version": "1.0", "description": catalog.i18nc("@info:whatsthis", "Shows changes since latest checked version"),