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.