Otherwise saving manual filters will fail, which will also result in the general settings (Enable Ad Block, Hide filtered elements, Update interval) not getting written at all.
Details
Details
- Reviewers
mlaurent - Commits
- R81:45191cfc8875: Create ~/.local/share/adblock/ if it doesn't exist
Run Akregator or KMail on a fresh user account or delete ~/.local/share/adblock/ before you run it.
Enable the options "Enable Ad Block" and/or "Hide filtered elements" in the Adblock plugin settings (or disable them if they are already on) and click OK.
Quit and restart Akregator/KMail.
The settings are remembered now, before they were reverted again.
Also, adding custom manual filter rules works now and they are remembered.
Debug message "Unable to open rule file /home/xxx/.local/share/adblock/adblockrules_local" disappears too with the patch.
Diff Detail
Diff Detail
- Repository
- R81 KDE PIM Addons
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Hi,
Thanks for this patch.
Please apply it in 17.08 and use git merge for merging it in master.
thanks