[Github-comments] [geany/geany-plugins] Commander does not show filetype-specific build commands (#462)

Colomban Wendling notifications at xxxxx
Wed Jul 13 23:38:03 UTC 2016


> This seems to happen because, when populating the Build menu, Geany [sets text directly on the `GtkLabel` child of the `GtkMenuItem`](https://github.com/geany/geany/blob/6aaaba6b41119cfbe3705d0c993a5cac3223f085/src/build.c#L1374-1376).

Wow, you earned like 10k credits points for finding this out in what looked like a timely manner :+1: 

> The API exports functions to access the build commands, including the labels. @b4n the commander plugin should be using that, not scraping the widgets.

Well, one of the purpose of the Commander plugin is to be able to trigger *any* menu item generically, without duplicating every feature (or at least knowing about it and labeling it).  So I'd rather not special case the build commands if it can be avoided.

---
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/issues/462#issuecomment-232517747
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160713/9da895cd/attachment.html>


More information about the Github-comments mailing list