View Single Post
nicolai's Avatar
Posts: 1,637 | Thanked: 4,424 times | Joined on Apr 2009 @ Germany
#6
Originally Posted by b-man View Post
I got the file list function applied but now i´m having issues with piping the data into my selection menu
...
Code:
....
while(info) {
  data->items = g_file_info_get_name(info);
	info = g_file_enumerator_next_file(files, NULL, NULL);
}
....
Every entry overrides data->items. You need to call a function to insert new items into your list.

nicolai
 

The Following User Says Thank You to nicolai For This Useful Post: