gnome-commander r2197 - in trunk: . src



Author: epiotr
Date: Wed Oct 15 22:08:54 2008
New Revision: 2197
URL: http://svn.gnome.org/viewvc/gnome-commander?rev=2197&view=rev

Log:
Invalidate modified file metatada by GnomeCmdDir, not by GnomeCmdFileSelector

Modified:
   trunk/ChangeLog
   trunk/src/gnome-cmd-dir.cc
   trunk/src/gnome-cmd-file-selector.cc

Modified: trunk/src/gnome-cmd-dir.cc
==============================================================================
--- trunk/src/gnome-cmd-dir.cc	(original)
+++ trunk/src/gnome-cmd-dir.cc	Wed Oct 15 22:08:54 2008
@@ -785,6 +785,7 @@
     gnome_vfs_uri_unref (uri);
 
     gnome_cmd_file_update_info (finfo, info);
+    gnome_cmd_file_invalidate_metadata (finfo);
     gtk_signal_emit (GTK_OBJECT (dir), dir_signals[FILE_CHANGED], finfo);
 }
 

Modified: trunk/src/gnome-cmd-file-selector.cc
==============================================================================
--- trunk/src/gnome-cmd-file-selector.cc	(original)
+++ trunk/src/gnome-cmd-file-selector.cc	Wed Oct 15 22:08:54 2008
@@ -788,7 +788,6 @@
 
     if (fs->file_list()->has_file(f))
     {
-        gnome_cmd_file_invalidate_metadata (f);                 // FIXME: should be handled in GnomeCmdDir, not here
         fs->file_list()->update_file(f);
         fs->update_selected_files_label();
     }



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