Enlightenment CVS committal
Author : rbdpngn
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src
Modified Files:
ewl_theme.c
Log Message:
Theme path was off by a character. Also need to regenerate the theme_path to
get the correct relative image path.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_theme.c,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -3 -r1.52 -r1.53
--- ewl_theme.c 27 Jan 2004 06:08:35 -0000 1.52
+++ ewl_theme.c 27 Jan 2004 16:37:54 -0000 1.53
@@ -85,11 +85,15 @@
if (((stat(theme_db_path, &st)) == 0) && S_ISDIR(st.st_mode)) {
snprintf(theme_db_path, PATH_MAX, PACKAGE_DATA_DIR
- "/theme/%s/theme.db", theme_name);
+ "/themes/%s/theme.db", theme_name);
theme_db = e_db_open_read(theme_db_path);
- if (theme_db)
+ if (theme_db) {
+ snprintf(theme_db_path, PATH_MAX,
+ PACKAGE_DATA_DIR "/themes/%s",
+ theme_name);
theme_path = strdup(theme_db_path);
+ }
}
else {
snprintf(theme_db_path, PATH_MAX, PACKAGE_DATA_DIR
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs