[Geany-devel] get build command from a plugin

Matthew Brush mbrush at xxxxx
Fri Feb 3 23:00:11 UTC 2012


On 02/03/2012 11:43 AM, Dimitar Zhekov wrote:
> On Thu, 2 Feb 2012 10:14:15 +1100
> Lex Trotman<elextr at gmail.com>  wrote:
>
>> It would be really good if someone other than me tests it, my test
>> plugin is rather dumb.
>
> I tested with the following code in plugin_init():
>
> build_set_menu_item(GEANY_BCS_PROJ, GEANY_GBG_EXEC, 1, GEANY_BC_LABEL,
> "boza");
>
> And, after I open a project and load the plugin, Set Build Commands
> looks like this:<<attachment>>
>

Is your Geany up to date with Git? There was a problem with the project 
dialog and Glade that was exactly like this not very long ago, but it 
should be fixed in Git now.

Cheers,
Matthew Brush



More information about the Devel mailing list