diff options
author | Nicoco <nicoco@nicoco.fr> | 2023-09-25 21:08:26 +0300 |
---|---|---|
committer | Philipp Hörist <philipp@hoerist.com> | 2023-09-25 21:08:26 +0300 |
commit | f1f0a7b870848b70c0dc57cf18719a91784cd197 (patch) | |
tree | 2d5d1cf06d23cf2aeba8fb7cbb7c1332b2b58c58 | |
parent | fed5a7fae07745016136f0fb9a1e3620ec486fa5 (diff) |
feat: ChatMenu: Always show "Execute command" action
-rw-r--r-- | gajim/gtk/menus.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gajim/gtk/menus.py b/gajim/gtk/menus.py index 3593c64b9..7c767ea23 100644 --- a/gajim/gtk/menus.py +++ b/gajim/gtk/menus.py @@ -97,6 +97,12 @@ def get_singlechat_menu(contact: types.BareContact) -> GajimMenu: params = AccountJidParam(account=account, jid=contact.jid) menu.add_item(_('Add to Contact List…'), 'win.add-to-roster', params) + menu.add_item( + _('Execute Command…'), + f'app.{account}-execute-command', + contact.jid.bare, + ) + return menu |