fix about tab in vcard

This commit is contained in:
Yann Leboulanger 2016-06-16 21:40:15 +02:00
parent 02a0f25781
commit bbcd2d7886
2 changed files with 2 additions and 2 deletions

View File

@ -288,7 +288,7 @@ class ProfileWindow:
else: else:
if i == 'DESC': if i == 'DESC':
self.xml.get_object('DESC_textview').get_buffer().set_text( self.xml.get_object('DESC_textview').get_buffer().set_text(
vcard_[i], 0) vcard_[i], len(vcard[i]))
else: else:
self.set_value(i + '_entry', vcard_[i]) self.set_value(i + '_entry', vcard_[i])
if self.update_progressbar_timeout_id is not None: if self.update_progressbar_timeout_id is not None:

View File

@ -240,7 +240,7 @@ class VcardWindow:
else: else:
if i == 'DESC': if i == 'DESC':
self.xml.get_object('DESC_textview').get_buffer().set_text( self.xml.get_object('DESC_textview').get_buffer().set_text(
vcard[i], 0) vcard[i], len(vcard[i]))
elif i != 'jid': # Do not override jid_label elif i != 'jid': # Do not override jid_label
self.set_value(i + '_label', vcard[i]) self.set_value(i + '_label', vcard[i])
self.vcard_arrived = True self.vcard_arrived = True