Disable menu actions when read-only/locked

Authored by jnoack on Mar 20 2018, 12:35 AM.

Description

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

Details

Committed
hindenburgMar 20 2018, 12:45 AM
Reviewer
Konsole
Differential Revision
D11341: Disable menu actions when read-only/locked
Parents
R319:fc5ffe62fc42: GIT_SILENT Upgrade KDE Applications version to 18.07.70.
Branches
Unknown
Tags
Unknown