# # # patch "NEWS" # from [bae151db1f4f1e989f4cb69c0c551a787bace6ae] # to [43a759bbf6e18b71a6f3cfc84746c690ddc510df] # # patch "src/view/dialogs/FileDiff.cpp" # from [699fafa30f746354fb9218fc18bc135e01e21e02] # to [00eac83b51f89982805c42ee76a83d780b668dbb] # # patch "src/view/dialogs/RevisionManifest.cpp" # from [6316625d53d8349258ae940ddc1f5c8d5dc641ec] # to [2a0e2428220c48809e61635f3178ef912e989abf] # ============================================================ --- NEWS bae151db1f4f1e989f4cb69c0c551a787bace6ae +++ NEWS 43a759bbf6e18b71a6f3cfc84746c690ddc510df @@ -4,6 +4,8 @@ - bugfix: if the user tries to save one or more files from the manifest view more than once, guitone crashed on an invariant; this is fixed (missing re-initialization in the underlying model) + - bugfix: the dialog titles of the file diff and manifest dialog are now + properly set if the dialog is opened another time 2008-05-25 (0.8) - starting from this version (0.8) guitone is distributed under the terms ============================================================ --- src/view/dialogs/FileDiff.cpp 699fafa30f746354fb9218fc18bc135e01e21e02 +++ src/view/dialogs/FileDiff.cpp 00eac83b51f89982805c42ee76a83d780b668dbb @@ -72,8 +72,7 @@ void FileDiff::forDatabase(const Databas fileName = file; loaded = false; - QString title = windowTitle(); - setWindowTitle(title.arg(fileName)); + setWindowTitle(tr("File differences of \"%1\"").arg(fileName)); firstRevision->setText( firstRevision->text().arg(base.left(12).append("...")) @@ -113,8 +112,7 @@ void FileDiff::forWorkspace(const Worksp fileName = file; loaded = false; - QString title = windowTitle(); - setWindowTitle(title.arg(fileName)); + setWindowTitle(tr("File differences of \"%1\"").arg(fileName)); QString left = tr("workspace parent"); QString right = tr("workspace revision"); ============================================================ --- src/view/dialogs/RevisionManifest.cpp 6316625d53d8349258ae940ddc1f5c8d5dc641ec +++ src/view/dialogs/RevisionManifest.cpp 2a0e2428220c48809e61635f3178ef912e989abf @@ -65,7 +65,7 @@ void RevisionManifest::readManifest(cons void RevisionManifest::readManifest(const QString & rev) { revision = rev; - setWindowTitle(windowTitle().arg(revision)); + setWindowTitle(tr("Files in %1").arg(revision)); manifestModel->readManifest(revision); }