gnome-commander r1487 - in trunk: . src/tags
- From: epiotr svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-commander r1487 - in trunk: . src/tags
- Date: Tue, 8 Jan 2008 22:35:40 +0000 (GMT)
Author: epiotr
Date: Tue Jan 8 22:35:40 2008
New Revision: 1487
URL: http://svn.gnome.org/viewvc/gnome-commander?rev=1487&view=rev
Log:
Set File.Format tag to "Folder" for directories
Modified:
trunk/ChangeLog
trunk/src/tags/gnome-cmd-tags-file.cc
Modified: trunk/src/tags/gnome-cmd-tags-file.cc
==============================================================================
--- trunk/src/tags/gnome-cmd-tags-file.cc (original)
+++ trunk/src/tags/gnome-cmd-tags-file.cc Tue Jan 8 22:35:40 2008
@@ -75,5 +75,6 @@
finfo->metadata->add(TAG_FILE_PERMISSIONS, perm2textstring(finfo->info->permissions,buff,sizeof(buff)));
- finfo->metadata->add(TAG_FILE_FORMAT, finfo->info->mime_type);
+ finfo->metadata->add(TAG_FILE_FORMAT, finfo->info->type==GNOME_VFS_FILE_TYPE_DIRECTORY ? "Folder" : finfo->info->mime_type);
+
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]