Enlightenment CVS committal
Author : atmosphere
Project : e17
Module : apps/entrance
Dir : e17/apps/entrance/src/client
Modified Files:
main.c
Log Message:
fixup for theme's specified on the cli, icon and session groups weren't getting loaded
properly
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/entrance/src/client/main.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -3 -r1.40 -r1.41
--- main.c 7 Mar 2004 03:51:33 -0000 1.40
+++ main.c 8 Mar 2004 18:37:18 -0000 1.41
@@ -717,7 +717,12 @@
snprintf(buf, PATH_MAX, "%s/themes/%s", PACKAGE_DATA_DIR,
session->config->theme);
else
+ {
snprintf(buf, PATH_MAX, "%s", theme);
+ if (session->config->theme)
+ free(session->config->theme);
+ session->config->theme = strdup(buf);
+ }
if (!edje_object_file_set(edje, buf, "Main"))
{
syslog(LOG_CRIT, "Failed to load theme %s\n", theme);
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs