[geany/geany] e74dc4: Unify the spawn callers error messages: grep tool

Dimitar Zhekov git-noreply at xxxxx
Tue Oct 20 17:30:00 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:30:00 UTC
Commit:      e74dc40e1134e3bb7df9e45bc95f9e3c71507841
             https://github.com/geany/geany/commit/e74dc40e1134e3bb7df9e45bc95f9e3c71507841

Log Message:
-----------
Unify the spawn callers error messages: grep tool


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

Modified: src/search.c
4 lines changed, 2 insertions(+), 2 deletions(-)
===================================================================
@@ -1715,8 +1715,8 @@ search_find_in_files(const gchar *utf8_search_text, const gchar *utf8_dir, const
 	}
 	else
 	{
-		geany_debug("%s: spawn_with_callbacks() failed: %s", G_STRFUNC, error->message);
-		ui_set_statusbar(TRUE, _("Process failed (%s)"), error->message);
+		ui_set_statusbar(TRUE, _("Cannot execute grep tool \"%s\": %s. "
+			"Check the path setting in Preferences."), tool_prefs.grep_cmd, 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