one less signal
This commit is contained in:
parent
f847084593
commit
2317c96c9b
|
@ -88,21 +88,12 @@ class GroupchatWindow(chat.Chat):
|
|||
'on_groupchat_window_destroy': self.on_groupchat_window_destroy,
|
||||
'on_groupchat_window_delete_event': self.on_groupchat_window_delete_event,
|
||||
'on_groupchat_window_focus_in_event': self.on_groupchat_window_focus_in_event,
|
||||
'on_groupchat_window_focus_out_event': self.on_groupchat_window_focus_out_event,
|
||||
'on_chat_notebook_key_press_event': self.on_chat_notebook_key_press_event,
|
||||
'on_chat_notebook_switch_page': self.on_chat_notebook_switch_page,
|
||||
}
|
||||
|
||||
self.xml.signal_autoconnect(signal_dict)
|
||||
|
||||
|
||||
#FIXME: 0.9 implement you lost focus of MUC room here (Psi has a <hr/>)
|
||||
# DO NOT CONNECT ABOVE but in glade..
|
||||
#'on_chat_notebook_switch_page'
|
||||
#'on_groupchat_popup_menu_destroy'
|
||||
|
||||
|
||||
|
||||
# get size and position from config
|
||||
if gajim.config.get('saveposition'):
|
||||
gtkgui_helpers.move_window(self.window,
|
||||
|
@ -246,12 +237,6 @@ class GroupchatWindow(chat.Chat):
|
|||
# scroll to the end (via idle in case the scrollbar has appeared)
|
||||
gobject.idle_add(self.scroll_to_end, textview)
|
||||
|
||||
def on_groupchat_window_focus_out_event(self, widget, event):
|
||||
'''When window loses focus, we print focus-out-line in every tab'''
|
||||
pass
|
||||
#for room_jid in self.xmls:
|
||||
# self.check_and_possibly_add_focus_out_line(room_jid)
|
||||
|
||||
def on_chat_notebook_key_press_event(self, widget, event):
|
||||
chat.Chat.on_chat_notebook_key_press_event(self, widget, event)
|
||||
|
||||
|
|
|
@ -9265,7 +9265,6 @@ Custom</property>
|
|||
<signal name="focus_in_event" handler="on_groupchat_window_focus_in_event" last_modification_time="Sat, 05 Mar 2005 00:34:51 GMT"/>
|
||||
<signal name="delete_event" handler="on_groupchat_window_delete_event" last_modification_time="Mon, 07 Mar 2005 11:19:05 GMT"/>
|
||||
<signal name="destroy" handler="on_groupchat_window_destroy" last_modification_time="Mon, 07 Mar 2005 16:46:37 GMT"/>
|
||||
<signal name="focus_out_event" handler="on_groupchat_window_focus_out_event" last_modification_time="Sun, 07 Aug 2005 13:21:39 GMT"/>
|
||||
|
||||
<child>
|
||||
<widget class="GtkNotebook" id="chat_notebook">
|
||||
|
|
Loading…
Reference in New Issue