[geany/geany] 639083: Fix custom command spawning error message

Dimitar Zhekov git-noreply at xxxxx
Sun Nov 1 14:19:40 UTC 2015


Branch:      refs/heads/master
Author:      Dimitar Zhekov <dimitar.zhekov at gmail.com>
Committer:   Dimitar Zhekov <dimitar.zhekov at gmail.com>
Date:        Sun, 01 Nov 2015 14:19:40 UTC
Commit:      63908309533731ecdd8865e4cf118db1005e1bb4
             https://github.com/geany/geany/commit/63908309533731ecdd8865e4cf118db1005e1bb4

Log Message:
-----------
Fix custom command spawning error message

They are configured in Custom Commands, not Preferences.
Also fix the duplicated g_error_free().


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

Modified: src/tools.c
3 lines changed, 1 insertions(+), 2 deletions(-)
===================================================================
@@ -240,8 +240,7 @@ void tools_execute_custom_command(GeanyDocument *doc, const gchar *command)
 	else
 	{
 		ui_set_statusbar(TRUE, _("Cannot execute custom command \"%s\": %s. "
-			"Check the path setting in Preferences."), command, error->message);
-		g_error_free(error);
+			"Check the path setting in Custom Commands."), 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