Bug#420698: gtk.FileChooserDialog no longer sets filenames correctly

Josselin Mouette joss at debian.org
Mon Apr 30 18:49:50 UTC 2007


Le lundi 23 avril 2007 à 22:21 -0700, Joe Wreschnig a écrit :
> Package: python-gtk2
> Version: 2.10.4-2
> 
> Since upgrading to PyGTK 2.10.4 (from a 2.8 version) one of Quod Libet's
> unit tests is failing due to this problem:
> 
> $ python -c "
> import gtk
> chooser = gtk.FileChooserDialog()
> chooser.set_current_folder('/home') # this does return True
> print chooser.get_current_folder()"
> None
> 
> This worked in GTK 2.8 (i.e. chooser.get_current_folder() returned
> "/home").

Upstreams thinks such unit tests are broken. The set_current_folder
method is not a way to store a directory, especially not in an atomic
way.

If this doesn't cause any real trouble in the application but only in
the unit tests, I think we should just close the bug.
-- 
 .''`.
: :' :      We are debian.org. Lower your prices, surrender your code.
`. `'       We will add your hardware and software distinctiveness to
  `-        our own. Resistance is futile.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url : http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20070430/516513f7/attachment.pgp


More information about the pkg-gnome-maintainers mailing list