[geany/geany] 421f8a: Unify the spawn callers error messages: terminal command

Dimitar Zhekov git-noreply at xxxxx
Tue Oct 20 17:31:37 UTC 2015


Branch:      refs/heads/master
Author:      Dimitar Zhekov <dimitar.zhekov at gmail.com>
Committer:   Dimitar Zhekov <dimitar.zhekov at gmail.com>
Date:        Tue, 20 Oct 2015 17:31:37 UTC
Commit:      421f8a0ce08178bc5d76fd7922c253994492bf1d
             https://github.com/geany/geany/commit/421f8a0ce08178bc5d76fd7922c253994492bf1d

Log Message:
-----------
Unify the spawn callers error messages: terminal command


Modified Paths:
--------------
    src/build.c

Modified: src/build.c
4 lines changed, 2 insertions(+), 2 deletions(-)
===================================================================
@@ -909,8 +909,8 @@ static void build_run_cmd(GeanyDocument *doc, guint cmdindex)
 		}
 		else
 		{
-			geany_debug("spawn_async() failed: %s", error->message);
-			ui_set_statusbar(TRUE, _("Process failed (%s)"), error->message);
+			ui_set_statusbar(TRUE, _("Cannot execute terminal command \"%s\": %s. "
+				"Check the path setting in Preferences."), tool_prefs.term_cmd, error->message);
 			g_error_free(error);
 			g_unlink(run_cmd);
 			run_info[cmdindex].pid = (GPid) 0;



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list