Skip to content
Snippets Groups Projects
Commit 34aef801 authored by nkour's avatar nkour
Browse files

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

parent fe329590
No related branches found
No related tags found
No related merge requests found
......@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment