[geany/geany] 389c0a: Unify the spawn callers error messages: print command

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

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


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

Modified: src/printing.c
5 lines changed, 3 insertions(+), 2 deletions(-)
===================================================================
@@ -612,8 +612,9 @@ static void print_external(GeanyDocument *doc)
 	#endif
 		{
 			dialogs_show_msgbox(GTK_MESSAGE_ERROR,
-				_("Printing of \"%s\" failed (return code: %s)."),
-				doc->file_name, error->message);
+				_("Cannot execute print command \"%s\": %s. "
+				"Check the path setting in Preferences."),
+				printing_prefs.external_print_cmd, error->message);
 			g_error_free(error);
 		}
 		else



--------------
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