MCPcopy
hub / github.com/persepolisdm/persepolis / newVersionIsAvailable

Method newVersionIsAvailable

persepolis/scripts/mainwindow.py:1065–1072  ·  view source on GitHub ↗
(self, message)

Source from the content-addressed store, hash-verified

1063
1064 # This method notifies user about newer version of Persepolis
1065 def newVersionIsAvailable(self, message):
1066
1067 new_version = str(message)
1068 new_version = new_version[0:-1] + '.' + new_version[-1]
1069 # notify user about newer version
1070 notifySend(QCoreApplication.translate("mainwindow_src_ui_tr", "Version {} is available!".format(new_version)),
1071 QCoreApplication.translate("mainwindow_src_ui_tr", "Please update Persepolis."),
1072 10000, '', parent=self)
1073
1074 # if keep_awake_checkBox toggled by user , this method is called.
1075

Callers

nothing calls this directly

Calls 1

notifySendFunction · 0.90

Tested by

no test coverage detected