[Github-comments] [geany/geany-plugins] Workbench (#598)

LarsGit223 notifications at xxxxx
Sun Aug 20 11:37:06 UTC 2017


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.

-- 
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_r134113223
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170820/4d223167/attachment.html>


More information about the Github-comments mailing list