|
From: Enlightenment S. <no-...@en...> - 2008-10-16 20:57:16
|
Log:
Fix parsing menus.cfg causing missing backgrounds menu (noted by JC Wong).
Author: kwo
Date: 2008-10-16 13:57:11 -0700 (Thu, 16 Oct 2008)
New Revision: 36728
Modified:
trunk/E16/e/src/config.c
Modified: trunk/E16/e/src/config.c
===================================================================
--- trunk/E16/e/src/config.c 2008-10-16 20:35:29 UTC (rev 36727)
+++ trunk/E16/e/src/config.c 2008-10-16 20:57:11 UTC (rev 36728)
@@ -236,6 +236,11 @@
def_user = username(getuid());
def_shell = usershell(getuid());
+ /* When themepath is NULL it shouldn't be used, but this is consistent
+ * with old behavior */
+ if (!themepath)
+ themepath = Mode.theme.path;
+
Esnprintf(execline, sizeof(execline), "%s " "-P " "-nostdinc " "-undef "
"-include %s/config/definitions " "-I%s " "-I%s/config "
"-D ENLIGHTENMENT_VERSION=%s " "-D ENLIGHTENMENT_ROOT=%s "
|