Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
0835a886 by wurstsalat at 2022-08-13T12:49:44+02:00
fix: Roster: Add missing contact-info action
- - - - -
2 changed files:
- gajim/gtk/const.py
- gajim/gtk/roster.py
Changes:
=====================================
gajim/gtk/const.py
=====================================
@@ -220,6 +220,7 @@ def __str__(self):
ACCOUNT_ACTIONS = [
('add-contact', 'as'),
+ ('contact-info', 's'),
('block-contact', 's'),
('remove-contact', 's'),
('execute-command', 's'),
@@ -250,6 +251,7 @@ def __str__(self):
ONLINE_ACCOUNT_ACTIONS = {
'add-contact',
'remove-contact',
+ 'contact-info',
'execute-command',
'modify-gateway',
'bookmarks',
=====================================
gajim/gtk/roster.py
=====================================
@@ -140,6 +140,7 @@ def __init__(self, account: str) -> None:
def _connect_actions(self):
app_actions = [
+ (f'{self._account}-contact-info', self._on_contact_info),
(f'{self._account}-modify-gateway', self._on_modify_gateway),
(f'{self._account}-execute-command', self._on_execute_command),
(f'{self._account}-block-contact', self._on_block_contact),
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/0835a88652ee14c9e9b6889acdc15b508ee677c5
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/0835a88652ee14c9e9b6889acdc15b508ee677c5
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits