[pygtk] Regression? gtk.FileChooser.get/set_filename() not working
Felix Rabe (public)
public at felixrabe.textdriven.com
Wed Mar 28 04:39:08 WST 2007
In a callback method, I have this line:
'self.fcd_save' is a gtk.FileChooserDialog, 'self.filename' a filename
string I got from self.fcd_save.get_filename() earlier.
Now since (Py)GTK 2.10 or so the dialog doesn't work as expected
anymore. It is supposed to select and display the filename of the file
currently open. When I change the above line to this:
I get this tuple every time the callback method is called:
It should actually work like the way <Ctrl><Shift>S works in GEdit, but
I'm too lazy to have a look of its code now to see what I'm doing wrong.
Any pointers? Is this a real pygtk regression or am I too lazy to look
The project in question is http://felixrabe.net/pygtk-shell/
More information about the pygtk