fixing a Traceback
This commit is contained in:
parent
fba0185e89
commit
597f84b027
|
@ -81,6 +81,7 @@ class Vcard_window:
|
|||
return True
|
||||
|
||||
def on_set_avatar_button_clicked(self, widget):
|
||||
file = None
|
||||
dialog = gtk.FileChooserDialog('Choose avatar', None,
|
||||
gtk.FILE_CHOOSER_ACTION_OPEN,
|
||||
(gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL,
|
||||
|
|
Loading…
Reference in New Issue