From d88ca88a4a4ba49091c97ebc7ddf7a2fd6d4f4e7 Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Fri, 10 Jun 2005 20:40:07 +0000 Subject: [PATCH] clear avatar removes avatar now --- src/vcard.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vcard.py b/src/vcard.py index 24e457158..c78a41cc4 100644 --- a/src/vcard.py +++ b/src/vcard.py @@ -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):