From 637c32ce1b67a7189aef2ce3b36f6fda0b3888f2 Mon Sep 17 00:00:00 2001 From: Aaron Rainbolt Date: Thu, 2 Mar 2023 17:44:43 -0600 Subject: [PATCH] Fix the Lubuntu Manual checkbox behavior. --- debian/changelog | 3 +++ debian/patches/add-manual.patch | 10 +++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 703250e..d578ed8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,9 @@ pcmanfm-qt (1.2.1-0ubuntu2) lunar; urgency=medium * Put the Lubuntu Manual checkbox where it belongs in the Desktop Preferences window. (LP: #1998528) + * Make the Lubuntu Manual checkbox behave correctly (if the shortcut is + present, it should be checked, if the shortcut is missing, it should be + unchecked). -- Aaron Rainbolt Thu, 02 Mar 2023 17:41:45 -0600 diff --git a/debian/patches/add-manual.patch b/debian/patches/add-manual.patch index e8424f8..8becc4e 100644 --- a/debian/patches/add-manual.patch +++ b/debian/patches/add-manual.patch @@ -164,7 +164,15 @@ Last-Update: 2022-06-16 --- a/pcmanfm/desktoppreferencesdialog.cpp +++ b/pcmanfm/desktoppreferencesdialog.cpp -@@ -208,6 +208,9 @@ void DesktopPreferencesDialog::applySett +@@ -120,6 +120,7 @@ DesktopPreferencesDialog::DesktopPrefere + ui.trashBox->setChecked(ds.contains(QLatin1String("Trash"))); + ui.computerBox->setChecked(ds.contains(QLatin1String("Computer"))); + ui.networkBox->setChecked(ds.contains(QLatin1String("Network"))); ++ ui.lubuntuManualBox->setChecked(ds.contains(QLatin1String("Lubuntu Manual"))); + + connect(ui.buttonBox->button(QDialogButtonBox::Apply), &QPushButton::clicked, + this, &DesktopPreferencesDialog::onApplyClicked); +@@ -208,6 +209,9 @@ void DesktopPreferencesDialog::applySett if(ui.networkBox->isChecked()) { ds << QLatin1String("Network"); }