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

LarsGit223 notifications at xxxxx
Sat Aug 19 16:15:52 UTC 2017


LarsGit223 commented on this pull request.



> +		return;
+
+	if (sidebar_get_project_iter(project, &iter))
+	{
+		gint length, position;
+		gchar text[200];
+
+		length = g_snprintf(text, sizeof(text), "%s", wb_project_get_name(project));
+		if (length < (sizeof(text)-1) && wb_project_is_modified(project))
+		{
+			text [length] = '*';
+			text [length+1] = '\0';
+		}
+		gtk_tree_store_set(sidebar.file_store, &iter,
+			FILEVIEW_COLUMN_NAME, text,
+			-1);

True. Merged the functions together and added a parameter to choose to only update the project title or all parts of the project.

-- 
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_r134095100
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170819/1629aefc/attachment.html>


More information about the Github-comments mailing list