Disable menu actions when read-only/locked
Summary:
This patch addresses the following points:
- Ignore most DBus methods
- Disable the following actions:
clear-history, clear-history-and-reset, edit-current-profile, switch-profile
adjust-history, send-signal, zmodem-upload, edit-rename (tab bar)
- Session updates all views correctly when readonly changes
Test Plan:
- Actions do not show when locked
- DBus methods are ignored when locked
- Multiple views in one session get correctly updated
Reviewers: hindenburg, Konsole
Reviewed By: hindenburg, Konsole
Subscribers: ngraham, hindenburg, Konsole
Tags: Konsole
Differential Revision: https://phabricator.kde.org/D11341