Philipp Hörist pushed to branch master at gajim / gajim


Commits:
197dfa5c by Philipp Hörist at 2019-08-17T11:11:46Z
Groupchat: Focus close button on muc-info page

This prevents one of the labels getting focus on page switch

- - - - -


1 changed file:

- gajim/groupchat_control.py


Changes:

=====================================
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):



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/197dfa5c15f3d5f678e661659d7f6504df612a76

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/197dfa5c15f3d5f678e661659d7f6504df612a76
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

Reply via email to