[geany/geany] 748f56: Unify the spawn callers error messages: custom command

Dimitar Zhekov git-noreply at xxxxx
Tue Oct 20 17:38: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:38:37 UTC
Commit:      748f5689ccf58b5172d3ec80b67bbde4cc3ea1a5

Log Message:
Unify the spawn callers error messages: custom command

Modified Paths:

Modified: src/tools.c
5 lines changed, 3 insertions(+), 2 deletions(-)
@@ -239,8 +239,9 @@ void tools_execute_custom_command(GeanyDocument *doc, const gchar *command)
-		geany_debug("spawn_sync() failed: %s", error->message);
-		ui_set_statusbar(TRUE, _("Custom command failed: %s"), error->message);
+		ui_set_statusbar(TRUE, _("Cannot execute custom command \"%s\": %s. "
+			"Check the path setting in Preferences."), command, error->message);
+		g_error_free(error);

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