[System Tray] Fix assigning global shortcuts to applets from the config interface
ClosedPublic

Authored by broulik on May 8 2016, 9:39 PM.

Details

Summary

The model has changed and is now created in JS but the code that changes the shortcuts was never adjusted

Diff Detail

Repository
R120 Plasma Workspace
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik updated this revision to Diff 3710.May 8 2016, 9:39 PM
broulik retitled this revision from to [System Tray] Fix assigning global shortcuts to applets from the config interface.
broulik updated this object.
broulik edited the test plan for this revision. (Show Details)
broulik added a reviewer: Plasma.
broulik set the repository for this revision to R120 Plasma Workspace.
Restricted Application added a project: Plasma. · View Herald TranscriptMay 8 2016, 9:39 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
mart accepted this revision.May 10 2016, 11:38 AM
mart added a reviewer: mart.
mart added a subscriber: mart.
mart added inline comments.
applets/systemtray/package/contents/ui/ConfigEntries.qml
233 ↗(On Diff #3710)

may be more robust if the type (sni or applet) is actually a role in the model?

This revision is now accepted and ready to land.May 10 2016, 11:38 AM
broulik added inline comments.May 10 2016, 1:18 PM
applets/systemtray/package/contents/ui/ConfigEntries.qml
233 ↗(On Diff #3710)

visible: modelData.hasOwnProperty("shortcut")

The shortcut item is only shown for applets

This revision was automatically updated to reflect the committed changes.