Skip to content
  • Joshua Noack's avatar
    Disable menu actions when read-only/locked · 429ad275
    Joshua Noack authored and Kurt Hindenburg's avatar Kurt Hindenburg committed
    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
    
    {F5754353}
    
    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
    
    (cherry picked from commit 3a1d350b)
    429ad275