KateSessionManager: Limit the number of referenced jump list actions
ClosedPublic

Authored by loh.tar on Nov 3 2018, 5:47 PM.

Details

Summary
...to the number of defined actions

This fix the grumble...

  The desktop file "foobar/org.kde.kate.desktop" references the action
  "Session <checksum>" but doesn't define it

...when there are more than 10 sessions available
Test Plan
  • Ensure not to run a kate instance without this patch or you will see anymay the grumble
  • Create more than 10 sessions
  • Switch sessions and watch

Diff Detail

Repository
R40 Kate
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
loh.tar created this revision.Nov 3 2018, 5:47 PM
Restricted Application added a subscriber: kwrite-devel. · View Herald TranscriptNov 3 2018, 5:47 PM
loh.tar requested review of this revision.Nov 3 2018, 5:47 PM
cullmann accepted this revision.Nov 4 2018, 11:58 AM
cullmann added a subscriber: cullmann.

Looks reasonable, thanks.
Makes no sense to create them but later limit how many to use.

This revision is now accepted and ready to land.Nov 4 2018, 11:58 AM
This revision was automatically updated to reflect the committed changes.