When opening Scratch with some saved tabs, it doesn't save/update the backup file for the file you open. This leads to "Revert" button being always insensitive.
ProblemType: Bug
DistroRelease: elementary OS 0.2
Package: scratch-text-editor 1.1.1+r984-0+pkg39~precise1 [origin: LP-PPA-elementary-os-daily]
ProcVersionSignature: Ubuntu 3.5.0-19.30~precise1-generic 3.5.7
Uname: Linux 3.5.0-19-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.1+elementary3~precise1
Architecture: amd64
CrashDB: scratch_text_editor
Date: Mon Feb 11 01:45:47 2013
ExecutablePath: /usr/bin/scratch-text-editor
GsettingsChanges:
InstallationMedia: elementary OS 0.2 "Luna" - Build amd64 LIVE Binary 20121001-15:16
MarkForUpload: True
ProcEnviron:
PATH=(custom, no user)
LANG=ru_RU.UTF-8
SHELL=/bin/bash
SourcePackage: scratch-text-editor
UpgradeStatus: No upgrade log present (probably fresh install)
I'm not really familiar with the code, but it seems that in Scratch.vala in the function "open_document" it should call "document. make_backup ();" like in the "open_file" function.