Bringing back the old remorse timer

asked 2019-12-21 10:38:02 +0200

figgis-diggis gravatar image

updated 2019-12-21 10:46:33 +0200

In order to bring back the old remorse timer you just have to replace /usr/lib/qt5/qml/Sailfish/Silica/private/RemorseBase.qml with the same file from 3.2.0. It would work ok, though one small alteration is recommended: remove in the 46th string

//% "Tap to undo"

property string cancelText: qsTrId("components-la-tap-to-undo")

words "-tap-to" (the corresponding text string was renamed in the resources and without changing the qsTrId you would see literally "components-la-tap-to-undo" in the actual timer), so it looks like this:

//% "Tap to undo"

property string cancelText: qsTrId("components-la-undo")

The pre-modified file is here (note that it's actually .tar.gz, so to open it properly in some archivers you may need to change the file extension).

As per usual, I'm too lazy so if anyone wants to step up and create a proper patch for the Patchmanager — they're welcome.

P.S. Please note that the old remorse timer is actually a remorse timer so tapping it would cancel the timed action, not confirm it. To discard the timer, you swap it right or left or hit the "X". You know, just in case.

edit retag flag offensive close delete