filechooserbutton: In tests, sleep after opening the dialog

This may ensure that the dialog is actually done initializing.  We need to kill this
sleeping business and really use signals, sigh...

Signed-off-by: Federico Mena Quintero <federico@gnome.org>
This commit is contained in:
Federico Mena Quintero 2013-02-20 18:52:23 -06:00
parent 158d74d257
commit 77154f295f

View File

@ -421,7 +421,7 @@ test_file_chooser_button (gconstpointer data)
gtk_button_clicked (GTK_BUTTON (children->data));
g_list_free (children);
wait_for_idle ();
sleep_in_main_loop ();
/* Give me the internal dialog, damnit */
fc_dialog = g_object_get_qdata (G_OBJECT (fc_button), delegate_get_quark ());