Revision: 4943 http://geany.svn.sourceforge.net/geany/?rev=4943&view=rev Author: eht16 Date: 2010-05-22 19:39:27 +0000 (Sat, 22 May 2010)
Log Message: ----------- Fix Run toolbar item sensitivity after the last document has been closed.
Modified Paths: -------------- trunk/ChangeLog trunk/src/build.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2010-05-22 19:39:14 UTC (rev 4942) +++ trunk/ChangeLog 2010-05-22 19:39:27 UTC (rev 4943) @@ -6,6 +6,9 @@ sensitive widgets. * src/toolbar.c: Fix crash when the toolbar is reloaded without any open documents. + * src/build.c: + Fix Run toolbar item sensitivity after the last document has been + closed.
2010-05-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
Modified: trunk/src/build.c =================================================================== --- trunk/src/build.c 2010-05-22 19:39:14 UTC (rev 4942) +++ trunk/src/build.c 2010-05-22 19:39:27 UTC (rev 4943) @@ -1549,6 +1549,7 @@ } }
+ run_sensitivity &= (doc != NULL); can_build = get_build_cmd(doc, GEANY_GBG_FT, GBO_TO_CMD(GEANY_GBO_BUILD), NULL) != NULL && have_path && ! build_running; if (widgets.toolitem_build != NULL)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.