gnome-commander r2198 - in branches/gcmd-1-3: . src



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

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

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

Modified: branches/gcmd-1-3/src/gnome-cmd-dir.cc
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-dir.cc	(original)
+++ branches/gcmd-1-3/src/gnome-cmd-dir.cc	Wed Oct 15 22:09:06 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: branches/gcmd-1-3/src/gnome-cmd-file-selector.cc
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-file-selector.cc	(original)
+++ branches/gcmd-1-3/src/gnome-cmd-file-selector.cc	Wed Oct 15 22:09:06 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]