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"); }