gnome-commander r2508 - trunk/src



Author: epiotr
Date: Sat Apr  4 09:03:04 2009
New Revision: 2508
URL: http://svn.gnome.org/viewvc/gnome-commander?rev=2508&view=rev

Log:
Revert accidental commit in rev. 2506

Modified:
   trunk/src/gnome-cmd-file.cc

Modified: trunk/src/gnome-cmd-file.cc
==============================================================================
--- trunk/src/gnome-cmd-file.cc	(original)
+++ trunk/src/gnome-cmd-file.cc	Sat Apr  4 09:03:04 2009
@@ -334,13 +334,6 @@
 
     GnomeVFSURI *uri = gnome_cmd_file_get_uri (f);
     GnomeVFSResult result = gnome_vfs_set_file_info_uri (uri, new_info, GNOME_VFS_SET_FILE_INFO_NAME);
-
-    if (result==GNOME_VFS_OK)       //  re-read GnomeVFSFileInfo for the new MIME type
-    {
-        gnome_vfs_file_info_clear (new_info);
-        result = gnome_vfs_get_file_info_uri (uri, new_info, GNOME_VFS_FILE_INFO_GET_MIME_TYPE);
-    }
-
     gnome_vfs_uri_unref (uri);
 
     if (result==GNOME_VFS_OK && has_parent_dir (f))



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]