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

Reply via email to