[evolution] Don't rely on user's $PATH, use HIGHLIGHT_COMMAND defined by configure



commit 14ea17959765152019b4360eebc2790cfb2e9c29
Author: Dan VrÃtil <dvratil redhat com>
Date:   Tue Oct 9 00:32:54 2012 +0200

    Don't rely on user's $PATH, use HIGHLIGHT_COMMAND defined by configure

 .../e-mail-formatter-text-highlight.c              |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/modules/text-highlight/e-mail-formatter-text-highlight.c b/modules/text-highlight/e-mail-formatter-text-highlight.c
index e0a892c..18ef3d8 100644
--- a/modules/text-highlight/e-mail-formatter-text-highlight.c
+++ b/modules/text-highlight/e-mail-formatter-text-highlight.c
@@ -197,7 +197,7 @@ emfe_text_highlight_format (EMailFormatterExtension *extension,
 		EShell *shell;
 		EShellSettings *settings;
 		PangoFontDescription *fd;
-		const gchar *argv[] = { "highlight",
+		const gchar *argv[] = { HIGHLIGHT_COMMAND,
 					NULL,	/* --font= */
 					NULL,   /* --font-size= */
 					NULL,   /* --syntax= */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]