LarsGit223 commented on this pull request.
- }
+ + dirs = wb_project_get_directories(project); + if (dirs != NULL) + { + icon = g_icon_new_for_string("workbench-dir", NULL); + + foreach_slist (elem, dirs) + { + gtk_tree_store_insert_with_values(sidebar.file_store, &iter, parent, *position, + FILEVIEW_COLUMN_ICON, icon, + FILEVIEW_COLUMN_NAME, wb_project_dir_get_name(elem->data), + FILEVIEW_COLUMN_DATA_ID, DATA_ID_DIRECTORY, + FILEVIEW_COLUMN_ASSIGNED_DATA_POINTER, elem->data, + -1); + position++;
Fixed.