nickname is no more editable in gc vcard. Fixes #1766

This commit is contained in:
Yann Leboulanger 2006-03-29 15:46:34 +00:00
parent bfe1e8c631
commit 8e9444d880
1 changed files with 5 additions and 3 deletions

View File

@ -77,6 +77,8 @@ class VcardWindow:
self.publish_button = self.xml.get_widget('publish_button')
self.retrieve_button = self.xml.get_widget('retrieve_button')
self.nickname_entry = self.xml.get_widget('nickname_entry')
if not vcard: # Maybe gc_vcard ?
self.nickname_entry.set_property('editable', False)
self.publish_button.set_no_show_all(True)
self.retrieve_button.set_no_show_all(True)