From c13343daeeac06296c957f95fb341764cdf9d847 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Sat, 30 Jun 2012 06:57:49 +0000 Subject: [PATCH] forc /usr/share and /usr/local/share into xdg data dirs too if not set. SVN revision: 73079 --- src/bin/e_main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/bin/e_main.c b/src/bin/e_main.c index cad04d686..cbb5770e9 100644 --- a/src/bin/e_main.c +++ b/src/bin/e_main.c @@ -134,7 +134,10 @@ _xdg_data_dirs_augment(void) } } else - e_util_env_set("XDG_DATA_DIRS", newpath); + { + snprintf(buf, sizeof(buf), "%s:/usr/local/share:/usr/share", newpath); + e_util_env_set("XDG_DATA_DIRS", buf); + } } static void