[Notifications KCM] Add KeySequenceItem for do not disturb shortcut
ClosedPublic

Authored by broulik on Dec 15 2019, 1:35 PM.

Details

Test Plan

Not a huge fan of the code duplication there..

Needs D26013 and D26016 to fully work

Diff Detail

Repository
R119 Plasma Desktop
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik created this revision.Dec 15 2019, 1:35 PM
Restricted Application added a project: Plasma. · View Herald TranscriptDec 15 2019, 1:35 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
broulik requested review of this revision.Dec 15 2019, 1:35 PM

+1 on adding this, for sure. I think it's nice when a feature's shortcut is exposed like this.

kcms/notifications/package/contents/ui/main.qml
100

Maybe "Toggle with:"?

davidedmundson accepted this revision.Dec 18 2019, 1:14 PM
This revision is now accepted and ready to land.Dec 18 2019, 1:14 PM

That's accepting purely code-wise.
Please make sure the text is approved by VDG people before pushing.

ngraham accepted this revision.Dec 18 2019, 1:28 PM

As discussed in chat:

i18nc("Turn do not disturb mode on/off with keyboard shortcut", "Toggle with:")
This revision was automatically updated to reflect the committed changes.