[Github-comments] [geany/geany-plugins] Workbench (#598)
LarsGit223
notifications at xxxxx
Sat Aug 19 16:24:41 UTC 2017
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170819/295ded78/attachment.html>
More information about the Github-comments
mailing list