]> Pileus Git - ~andy/gtk/commit
filechooserbutton: Test that the expected filename is shown
authorFederico Mena Quintero <federico@gnome.org>
Thu, 7 Mar 2013 18:53:00 +0000 (12:53 -0600)
committerFederico Mena Quintero <federico@gnome.org>
Fri, 8 Mar 2013 02:45:58 +0000 (20:45 -0600)
commitcc75ebec15d8fddbd0485e1b82a3c6c9e71f8a64
tree194028d8713ee23024f48cf637d94287c3a4a7bd
parent8a17cad2e5e3f14e0a8977f069cbe8b8a83eaf48
filechooserbutton: Test that the expected filename is shown

We do some gymnastics to pull the string out of the GtkButton or the GtkComboBox that is
being used in GtkFileChooserButton to show the current selection when the dialog
is inactive - namely, we look for the subwidget with the correct ATK role, and pull its
accessible name.

Currently the test fails; this is https://bugzilla.gnome.org/show_bug.cgi?id=691040#c18

Signed-off-by: Federico Mena Quintero <federico@gnome.org>
gtk/gtkfilechooserbutton.c
gtk/tests/filechooser.c