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

Reply via email to