partially fixed GTK open dialog on Linux