Fix the Lubuntu Manual checkbox behavior.
This commit is contained in:
parent
59c245310b
commit
637c32ce1b
3
debian/changelog
vendored
3
debian/changelog
vendored
@ -2,6 +2,9 @@ pcmanfm-qt (1.2.1-0ubuntu2) lunar; urgency=medium
|
|||||||
|
|
||||||
* Put the Lubuntu Manual checkbox where it belongs in the Desktop
|
* Put the Lubuntu Manual checkbox where it belongs in the Desktop
|
||||||
Preferences window. (LP: #1998528)
|
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 <arraybolt3@ubuntu.com> Thu, 02 Mar 2023 17:41:45 -0600
|
-- Aaron Rainbolt <arraybolt3@ubuntu.com> Thu, 02 Mar 2023 17:41:45 -0600
|
||||||
|
|
||||||
|
10
debian/patches/add-manual.patch
vendored
10
debian/patches/add-manual.patch
vendored
@ -164,7 +164,15 @@ Last-Update: 2022-06-16
|
|||||||
</widget>
|
</widget>
|
||||||
--- a/pcmanfm/desktoppreferencesdialog.cpp
|
--- a/pcmanfm/desktoppreferencesdialog.cpp
|
||||||
+++ b/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()) {
|
if(ui.networkBox->isChecked()) {
|
||||||
ds << QLatin1String("Network");
|
ds << QLatin1String("Network");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user