From 34aef80124482852727475343bf84e367b8d4639 Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Tue, 28 Mar 2006 12:43:57 +0000 Subject: [PATCH] rm print. fix issue. previous commit also was obey to coding standards [yes again] --- src/chat_control.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/chat_control.py b/src/chat_control.py index 3f32a974a..06af586b3 100644 --- a/src/chat_control.py +++ b/src/chat_control.py @@ -553,7 +553,6 @@ class ChatControlBase(MessageControl): def _on_history_menuitem_activate(self, widget = None, jid = None): '''When history menuitem is pressed: call history window''' - print 'this is never called' if not jid: jid = self.contact.jid @@ -746,9 +745,6 @@ class ChatControl(ChatControlBase): self.compact_view_always = gajim.config.get('always_compact_view_chat') self.set_compact_view(self.compact_view_always) - xm = gtk.glade.XML(GTKGUI_GLADE, 'chat_control_popup_menu', APP) - xm.signal_autoconnect(self) - # Initialize drag-n-drop self.TARGET_TYPE_URI_LIST = 80 self.dnd_list = [ ( 'text/uri-list', 0, self.TARGET_TYPE_URI_LIST ) ] @@ -1212,6 +1208,10 @@ class ChatControl(ChatControlBase): add_to_roster_menuitem.hide() add_to_roster_menuitem.set_no_show_all(True) + + # connect signals + xml.signal_autoconnect(self) + return menu def send_chatstate(self, state, contact = None):