LarsGit223 commented on this pull request.
+ if (wb_globals.opened_wb == NULL) + { + gtk_label_set_text (GTK_LABEL(sidebar.file_view_label), _("No workbench opened.")); + gtk_tree_store_clear(sidebar.file_store); + 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"));
Is corrected.