Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwurstsalat <mailtrash@posteo.de>2022-08-13 13:49:44 +0300
committerwurstsalat <mailtrash@posteo.de>2022-08-13 13:49:44 +0300
commit0835a88652ee14c9e9b6889acdc15b508ee677c5 (patch)
tree7c03a525094ae42208a70e7318394b7ea24ef4a6
parentc57682ce2ad82eb58e08f461f7877ed16c794e49 (diff)
fix: Roster: Add missing contact-info action
-rw-r--r--gajim/gtk/const.py2
-rw-r--r--gajim/gtk/roster.py1
2 files changed, 3 insertions, 0 deletions
diff --git a/gajim/gtk/const.py b/gajim/gtk/const.py
index 43731d2f0..5d82e36dd 100644
--- a/gajim/gtk/const.py
+++ b/gajim/gtk/const.py
@@ -220,6 +220,7 @@ MAIN_WIN_ACTIONS = [
ACCOUNT_ACTIONS = [
('add-contact', 'as'),
+ ('contact-info', 's'),
('block-contact', 's'),
('remove-contact', 's'),
('execute-command', 's'),
@@ -250,6 +251,7 @@ ALWAYS_ACCOUNT_ACTIONS = {
ONLINE_ACCOUNT_ACTIONS = {
'add-contact',
'remove-contact',
+ 'contact-info',
'execute-command',
'modify-gateway',
'bookmarks',
diff --git a/gajim/gtk/roster.py b/gajim/gtk/roster.py
index 1712e8742..ab3839c86 100644
--- a/gajim/gtk/roster.py
+++ b/gajim/gtk/roster.py
@@ -140,6 +140,7 @@ class Roster(Gtk.ScrolledWindow, EventHelper):
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),