fix tracebacks
This commit is contained in:
parent
d4979a0435
commit
b6ff150282
|
@ -566,7 +566,7 @@ class GC_Contacts():
|
|||
gc_list = self.get_gc_list()
|
||||
if not room_jid in gc_list:
|
||||
return []
|
||||
return self._rooms[room_jid].keys()
|
||||
return list(self._rooms[room_jid].keys())
|
||||
|
||||
def get_gc_contact(self, room_jid, nick):
|
||||
nick_list = self.get_nick_list(room_jid)
|
||||
|
|
|
@ -900,7 +900,7 @@ class HtmlTextView(Gtk.TextView):
|
|||
|
||||
def on_html_text_view_copy_clipboard(self, unused_data):
|
||||
clipboard = self.get_clipboard(Gdk.SELECTION_CLIPBOARD)
|
||||
clipboard.set_text(self.get_selected_text())
|
||||
clipboard.set_text(self.get_selected_text(), len(self.get_selected_text()))
|
||||
self.emit_stop_by_name('copy-clipboard')
|
||||
|
||||
def on_html_text_view_realized(self, unused_data):
|
||||
|
|
Loading…
Reference in New Issue