[Github-comments] [geany/geany-plugins] Workbench (#598)

LarsGit223 notifications at xxxxx
Sat Aug 19 08:57:39 UTC 2017


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.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/598#discussion_r134087029
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170819/62b211ba/attachment.html>


More information about the Github-comments mailing list