fixing a Traceback
This commit is contained in:
parent
fba0185e89
commit
597f84b027
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue