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:
-rw-r--r--gajim/groupchat_control.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/gajim/groupchat_control.py b/gajim/groupchat_control.py
index f109f68d0..4e88204e0 100644
--- a/gajim/groupchat_control.py
+++ b/gajim/groupchat_control.py
@@ -563,6 +563,10 @@ class GroupchatControl(ChatControlBase):
if name == 'groupchat':
transition = Gtk.StackTransitionType.SLIDE_UP
self.msg_textview.grab_focus()
+ if name == 'muc-info':
+ # Set focus on the close button, otherwise one of the selectable labels
+ # of the GroupchatInfo box gets focus, which means it is fully selected
+ self.xml.info_close_button.grab_focus()
self.xml.stack.set_visible_child_full(name, transition)
def _get_current_page(self):