[Xfce4-commits] r23384 - xarchiver/branches/xarchiver-psybsd/libxarchiver

Stephan Arts stephan at xfce.org
Fri Oct 13 05:38:33 UTC 2006


Author: stephan
Date: 2006-10-13 05:38:33 +0000 (Fri, 13 Oct 2006)
New Revision: 23384

Modified:
   xarchiver/branches/xarchiver-psybsd/libxarchiver/archive.c
Log:
Fixed mime-icons for contents. (should this be optional?! -- it could lead to performance drop)



Modified: xarchiver/branches/xarchiver-psybsd/libxarchiver/archive.c
===================================================================
--- xarchiver/branches/xarchiver-psybsd/libxarchiver/archive.c	2006-10-13 05:09:25 UTC (rev 23383)
+++ xarchiver/branches/xarchiver-psybsd/libxarchiver/archive.c	2006-10-13 05:38:33 UTC (rev 23384)
@@ -203,7 +203,7 @@
 			if(path[strlen(path)-1] == '/')
 				tmp_entry->mime_type = "inode/directory";
 			else
-				tmp_entry->mime_type = "text/plain";
+				tmp_entry->mime_type = lxa_mime_get_mime_type_for_filename(tmp_entry->filename);
 		}
 		parent = tmp_entry;
 	}



More information about the Xfce4-commits mailing list