D25307: kwriteconfig: add delete option
Eon S. Jeon
noreply at phabricator.kde.org
Thu Nov 14 19:46:51 GMT 2019
esjeon added a comment.
In D25307#562618 <https://phabricator.kde.org/D25307#562618>, @davidre wrote:
> In D25307#562613 <https://phabricator.kde.org/D25307#562613>, @esjeon wrote:
>
> > > What shortcuts had you in mind to delete?
> >
> > My specific interest is deleting shortcuts of removed KWin scripts. ( e.g. https://github.com/esjeon/krohnkite/issues/31 ) Such shortcuts keep appearing on Global Shortcuts dialog unless manually deleted. Also, while developing the script, I leave garbage values behind, and having this around will be handy.
>
>
> As noted in that issue for removing shortcuts modifying kglobalshortcutsrc is not enough as kglobaccel will write back. A reliable way to do that is via DBus.
Yeah, that sounds like a better approach for the shortcut thing. But I want to make clear that I submitted this patch only after verifying that this works for my case, for whatever reason.
Also, I don't see anything wrong with adding this, since it merely exposes `deleteEntry` method already in the API. Some projects do rely on it, so why should it be kept away from actual human beings?
REPOSITORY
R237 KConfig
REVISION DETAIL
https://phabricator.kde.org/D25307
To: esjeon, #frameworks, davidre, dfaure, meven, cfeck
Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191114/c38776e2/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list