Re: File copying

2011-02-06 Thread John Emmas
On 5 Feb 2011, at 19:18, Kevin DeKorte wrote: Something like this GFile *file; GFileOutputStream *output; GDataOutputStream *data; file = g_file_new_for_uri(uri); output = g_file_replace(file, NULL, FALSE, G_FILE_CREATE_NONE, NULL, NULL); data =

Re: File copying

2011-02-06 Thread Nader Morshed
You need to call g_file_set_attributes_from_info() to apply your changes to the file info (See: The Description section in the GFileInfo gtk-docs) I might also suggest filtering results on your query of g_file_query_info and just using a loop to copy over all the attributes listed by

Re: File copying

2011-02-06 Thread John Emmas
On 6 Feb 2011, at 19:05, Nader Morshed wrote: You need to call g_file_set_attributes_from_info() to apply your changes to the file info (See: The Description section in the GFileInfo gtk-docs) I might also suggest filtering results on your query of g_file_query_info Thanks Nader. Is