rm print. fix issue. previous commit also was obey to coding standards [yes again]

This commit is contained in:
Nikos Kouremenos 2006-03-28 12:43:57 +00:00
parent fe32959028
commit 34aef80124
1 changed files with 4 additions and 4 deletions

View File

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