|
Juraj, what do you think? :) |
|
|
I made a patch for this, but please read a message in scribus-dev list. |
|
jurajF
2016-03-31 08:15
reporter
|
0001-Change-message-in-statusbar-for-autosaved-document.patch (884 bytes)
From 9c1e61075d643576a620af437defa6856f89da22 Mon Sep 17 00:00:00 2001
From: Juraj Fedel <wtxnh-scribus@yahoo.com.au>
Date: Thu, 31 Mar 2016 08:28:28 +0200
Subject: [PATCH 1/2] Change message in statusbar for autosaved document
---
scribus/scribusdoc.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scribus/scribusdoc.cpp b/scribus/scribusdoc.cpp
index 0991fa0..cbbfb47 100644
--- a/scribus/scribusdoc.cpp
+++ b/scribus/scribusdoc.cpp
@@ -16289,7 +16289,7 @@ void ScribusDoc::slotAutoSave()
FileLoader fl(fileName);
if (fl.saveFile(fileName, this, 0))
{
- scMW()->statusBar()->showMessage( tr("File %1 autosaved").arg(base), 5000);
+ scMW()->statusBar()->showMessage( tr("Document %1 autosaved").arg(base), 5000);
if (autoSaveFiles.count() >= m_docPrefsData.docSetupPrefs.AutoSaveCount)
{
QFile f(autoSaveFiles.first());
--
2.1.4
|
|
jurajF
2016-03-31 08:15
reporter
|
0002-Print-autosave-message-to-console.patch (800 bytes)
From 01bbfabb224dd507c74c3691fd174ec9468bc83c Mon Sep 17 00:00:00 2001
From: Juraj Fedel <wtxnh-scribus@yahoo.com.au>
Date: Thu, 31 Mar 2016 08:31:29 +0200
Subject: [PATCH 2/2] Print autosave message to console
---
scribus/scribusdoc.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/scribus/scribusdoc.cpp b/scribus/scribusdoc.cpp
index cbbfb47..7dec0aa 100644
--- a/scribus/scribusdoc.cpp
+++ b/scribus/scribusdoc.cpp
@@ -16290,6 +16290,7 @@ void ScribusDoc::slotAutoSave()
if (fl.saveFile(fileName, this, 0))
{
scMW()->statusBar()->showMessage( tr("Document %1 autosaved").arg(base), 5000);
+ qDebug() << tr("File (%1) autosaved").arg(fileName);
if (autoSaveFiles.count() >= m_docPrefsData.docSetupPrefs.AutoSaveCount)
{
QFile f(autoSaveFiles.first());
--
2.1.4
|
|