changeset f0b060381912 in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=f0b060381912
description: fix focus behaviour when opening chat / groupchat window. Fixes
#7115, see #5740
diffstat:
src/chat_control.py | 1 -
src/groupchat_control.py | 1 -
src/message_window.py | 1 -
3 files changed, 0 insertions(+), 3 deletions(-)
diffs (33 lines):
diff -r 97675d403519 -r f0b060381912 src/chat_control.py
--- a/src/chat_control.py Thu Mar 08 20:03:17 2012 +0100
+++ b/src/chat_control.py Fri Mar 09 08:40:21 2012 +0100
@@ -469,7 +469,6 @@
self.user_nick = None
self.smooth = True
- self.msg_textview.grab_focus()
self.command_hits = []
self.last_key_tabs = False
diff -r 97675d403519 -r f0b060381912 src/groupchat_control.py
--- a/src/groupchat_control.py Thu Mar 08 20:03:17 2012 +0100
+++ b/src/groupchat_control.py Fri Mar 09 08:40:21 2012 +0100
@@ -1307,7 +1307,6 @@
self._update_banner_state_image()
if self.parent_win:
self.parent_win.redraw_tab(self)
- gobject.idle_add(self.msg_textview.grab_focus)
def got_disconnected(self):
self.list_treeview.set_model(None)
diff -r 97675d403519 -r f0b060381912 src/message_window.py
--- a/src/message_window.py Thu Mar 08 20:03:17 2012 +0100
+++ b/src/message_window.py Fri Mar 09 08:40:21 2012 +0100
@@ -307,7 +307,6 @@
# NOTE: we do not call set_control_active(True) since we don't know
# whether the tab is the active one.
self.show_title()
- gobject.idle_add(control.msg_textview.grab_focus)
def on_tab_eventbox_button_press_event(self, widget, event, child):
if event.button == 3: # right click
_______________________________________________
Commits mailing list
[email protected]
http://lists.gajim.org/cgi-bin/listinfo/commits