gnome-commander r2509 - branches/gcmd-1-3/src



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

Log:
Revert accidental commit in rev. 2507

Modified:
   branches/gcmd-1-3/src/gnome-cmd-file.cc

Modified: branches/gcmd-1-3/src/gnome-cmd-file.cc
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-file.cc	(original)
+++ branches/gcmd-1-3/src/gnome-cmd-file.cc	Sat Apr  4 09:03:44 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]