fixing a Traceback

This commit is contained in:
Nikos Kouremenos 2005-06-07 19:54:32 +00:00
parent fba0185e89
commit 597f84b027
1 changed files with 1 additions and 0 deletions

View File

@ -81,6 +81,7 @@ class Vcard_window:
return True return True
def on_set_avatar_button_clicked(self, widget): def on_set_avatar_button_clicked(self, widget):
file = None
dialog = gtk.FileChooserDialog('Choose avatar', None, dialog = gtk.FileChooserDialog('Choose avatar', None,
gtk.FILE_CHOOSER_ACTION_OPEN, gtk.FILE_CHOOSER_ACTION_OPEN,
(gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL, (gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL,