clear avatar removes avatar now

This commit is contained in:
Nikos Kouremenos 2005-06-10 20:40:07 +00:00
parent f3cf1b1f66
commit d88ca88a4a
1 changed files with 1 additions and 0 deletions

View File

@ -74,6 +74,7 @@ class Vcard_window:
def on_clear_button_clicked(self, widget):
# empty the image
self.xml.get_widget('PHOTO_image').set_from_pixbuf(None)
self.avatar_encoded = None
def image_is_ok(self, image):
if not os.path.exists(image):