From 639bb9880d88369adae9d82ab2118334410ac8e3 Mon Sep 17 00:00:00 2001 From: Carlo Baratto Date: Wed, 11 Nov 2026 12:49:19 +0100 Subject: [PATCH] Le cartelle standard del motore sono INBOX e Sent (0.3.4) --- rpm/harbour-grumpydove.spec | 5 ++++- src/enginebridge.cpp | 5 +++-- src/main.cpp | 4 ++-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/rpm/harbour-grumpydove.spec b/rpm/harbour-grumpydove.spec index 0f04a24..8054b9d 100644 --- a/rpm/harbour-grumpydove.spec +++ b/rpm/harbour-grumpydove.spec @@ -1,6 +1,6 @@ Name: harbour-grumpydove Summary: Eudora-style mail interface, mobile prototype -Version: 0.3.3 +Version: 0.3.4 Release: 1 Group: Qt/Qt # Codice EUPL-1.2; le icone vengono dagli sprite di Eudora, BSD 3-Clause @@ -27,6 +27,9 @@ Icons come from the original project's Eudora bitmaps (BSD 3-Clause, Computer History Museum). %changelog +* Wed Nov 11 2026 Carlo Baratto - 0.3.4-1 +- Le cartelle standard del motore si chiamano INBOX, Sent, Junk, Trash: il + bridge mappava In/Out e sbagliava le icone di posta in arrivo e inviata * Wed Nov 11 2026 Carlo Baratto - 0.3.3-1 - Versione visibile in fondo alla pagina Account * Wed Nov 11 2026 Carlo Baratto - 0.3.2-1 diff --git a/src/enginebridge.cpp b/src/enginebridge.cpp index 97d9188..c247d52 100644 --- a/src/enginebridge.cpp +++ b/src/enginebridge.cpp @@ -214,10 +214,11 @@ QVariantList EngineBridge::folders() const Entry &e = all.at(k); // Il tipo serve solo a scegliere l'icona: il motore non lo dice. + // Le cartelle standard si chiamano INBOX, Sent, Junk, Trash. QString tipo = "cartella"; if (e.depth == 0) tipo = "account"; - else if (e.nome == QLatin1String("In")) tipo = "in"; - else if (e.nome == QLatin1String("Out")) tipo = "out"; + else if (e.nome == QLatin1String("INBOX") || e.nome == QLatin1String("In")) tipo = "in"; + else if (e.nome == QLatin1String("Sent") || e.nome == QLatin1String("Out")) tipo = "out"; else if (e.nome == QLatin1String("Junk")) tipo = "junk"; else if (e.nome == QLatin1String("Trash")) tipo = "trash"; diff --git a/src/main.cpp b/src/main.cpp index a00bb41..ce22a44 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -21,9 +21,9 @@ Q_DECL_EXPORT int main(int argc, char *argv[]) app->setOrganizationName(QStringLiteral("harbour")); app->setApplicationName(QStringLiteral("grumpydove")); - app->setApplicationVersion(QStringLiteral("0.3.3")); + app->setApplicationVersion(QStringLiteral("0.3.4")); - qDebug() << "harbour-grumpydove v0.3.3 build" << __DATE__ << __TIME__; + qDebug() << "harbour-grumpydove v0.3.4 build" << __DATE__ << __TIME__; QTranslator translator; if (translator.load(QLocale(), QStringLiteral("harbour-grumpydove"),