diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-07-07 14:37:52 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-07-07 14:37:52 (GMT) |
commit | 63c93e4f2da2a5f8935835da876d118bdc99c495 (patch) | |
tree | 6e2052262ad85d9522505348d1664be52724b8e5 /sugar/chat | |
parent | 446754f4d3a8f5eda0b77f446f24f28b736ec4b6 (diff) |
Rewrite the wm, implement smarter sliding, "merge"
presence window and chat, activate by F1
Diffstat (limited to 'sugar/chat')
-rw-r--r-- | sugar/chat/ChatEditor.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sugar/chat/ChatEditor.py b/sugar/chat/ChatEditor.py index eea9ddd..e7761e2 100644 --- a/sugar/chat/ChatEditor.py +++ b/sugar/chat/ChatEditor.py @@ -25,7 +25,6 @@ class ChatEditor(gtk.HBox): chat_view_sw.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC) self._text_view = richtext.RichTextView() self._text_view.connect("key-press-event", self.__key_press_event_cb) - self._text_view.connect("button-press-event", self.__button_press_event_cb) chat_view_sw.add(self._text_view) self._text_view.show() @@ -88,9 +87,3 @@ class ChatEditor(gtk.HBox): if event.keyval == gtk.keysyms.Return: self._send() return True - - def __button_press_event_cb(self, text_view, event): - # Need to explicitly get keyboard focus in the window - # because docks doesn't take it by default. - toplevel = text_view.get_toplevel() - toplevel.window.focus() |