Remove inexact and unnecessary warning if a Run command has failed.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3026 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
040e4391c7
commit
9b05011c20
@ -4,6 +4,8 @@
|
||||
Fix a few memleaks.
|
||||
Handle errors when creation of the project base directory fails.
|
||||
Update the window title also when creating new projects.
|
||||
* src/build.c:
|
||||
Remove inexact and unnecessary warning if a Run command has failed.
|
||||
|
||||
|
||||
2008-09-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
|
||||
|
@ -703,9 +703,7 @@ static GPid build_run_cmd(GeanyDocument *doc)
|
||||
|
||||
working_dir = prepare_run_script(doc, &vte_cmd_nonscript);
|
||||
if (working_dir == NULL)
|
||||
{
|
||||
return (GPid) 0;
|
||||
}
|
||||
|
||||
run_info.file_type_id = FILETYPE_ID(doc->file_type);
|
||||
|
||||
@ -2016,10 +2014,7 @@ on_build_execute_activate (GtkMenuItem *menuitem,
|
||||
strstr(ft->programs->run_cmd, "%f") != NULL)
|
||||
document_save_file(doc, FALSE);
|
||||
|
||||
if (build_run_cmd(doc) == (GPid) 0)
|
||||
{
|
||||
ui_set_statusbar(TRUE, _("Failed to execute the terminal program"));
|
||||
}
|
||||
build_run_cmd(doc);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user