fix about tab in vcard
This commit is contained in:
parent
02a0f25781
commit
bbcd2d7886
|
@ -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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue