GtkFileChooser::set_local_only

set_local_only(local_only);

Sets whether only local files can be selected in the file selector.

If it is true (the default), then the selected file are files are guaranteed to be accessible through the operating systems native file file system and therefore the application only needs to worry about the filename functions in GtkFileChooser, like get_filename() , rather than the URI functions like get_uri() .