Enlightenment CVS committal Author : lordchaos Project : e17 Module : proto
Dir : e17/proto/entropy/src/plugins Modified Files: filesystem.c Log Message: Make the structure viewer work with TAR files as well =================================================================== RCS file: /cvsroot/enlightenment/e17/proto/entropy/src/plugins/filesystem.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -3 -r1.6 -r1.7 --- filesystem.c 28 Oct 2005 22:33:36 -0000 1.6 +++ filesystem.c 28 Oct 2005 22:45:41 -0000 1.7 @@ -261,9 +261,9 @@ if (calling_request && (calling_request->drill_down || calling_request->set_parent)) { printf("Calling request had a parent...\n"); - printf("File ('%s') parent's name is '%s'\n", file->filename, calling_request->file->filename); + printf("File ('%s') parent's name is '%s'\n", file->filename, calling_request->reparent_file->filename); - file->parent = calling_request->file; + file->parent = calling_request->reparent_file; } /*Mark the file's uri FIXME do this properly*/ @@ -581,8 +581,14 @@ /*If this request/file has a parent, the new file listing's parent will be * the same file - not the request file */ - new_request->file = source_file; - if (request->file->parent) new_request->set_parent = 1; + new_request->file = request->file; + + if (request->file->parent || request->drill_down) { + new_request->reparent_file = source_file; + new_request->set_parent = 1; + } + + new_request->core = request->core; ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs