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

LarsGit223 notifications at xxxxx
Sat Aug 19 16:14:45 UTC 2017


LarsGit223 commented on this pull request.



> +	GtkTreeIter iter;
+
+	if (wb_globals.opened_wb == NULL)
+		return;
+
+	if (sidebar_get_project_iter(project, &iter))
+	{
+		gint length;
+		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';
+		}

Done.

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


More information about the Github-comments mailing list