LarsGit223 commented on this pull request.
> + sidebar_show_intro_message(_("Create or open a workbench\nusing
> the workbench menu."), FALSE);
+ sidebar_deactivate();
+ }
+ else
+ {
+ gint length;
+ gchar text[200];
+
+ count = workbench_get_project_count(wb_globals.opened_wb);
+ length = g_snprintf(text, sizeof(text), "%s: %u %s",
+
workbench_get_name(wb_globals.opened_wb), count, _("Projects"));
+ if (length < (sizeof(text)-1) &&
workbench_is_modified(wb_globals.opened_wb))
+ {
+ 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_r134095233