file-roller r2216 - in branches/gnome-2-22: . src



Author: paobac
Date: Sun Apr  6 12:29:36 2008
New Revision: 2216
URL: http://svn.gnome.org/viewvc/file-roller?rev=2216&view=rev

Log:
2008-04-06  Paolo Bacchilega  <paobac svn gnome org>

	* src/fr-window.c: 
	
	call fr_window_free_open_files after closing the archive instead
	of calling it after updating the files, this way a file can be updated
	multiple times.

Modified:
   branches/gnome-2-22/ChangeLog
   branches/gnome-2-22/src/fr-window.c

Modified: branches/gnome-2-22/src/fr-window.c
==============================================================================
--- branches/gnome-2-22/src/fr-window.c	(original)
+++ branches/gnome-2-22/src/fr-window.c	Sun Apr  6 12:29:36 2008
@@ -5490,6 +5490,7 @@
 	if (! window->priv->archive_new && ! window->priv->archive_present)
 		return;
 
+	fr_window_free_open_files (window);
 	fr_clipboard_data_unref (window->priv->copy_data);
 	window->priv->copy_data = NULL;
 	
@@ -7534,8 +7535,6 @@
 	}
 	
 	fr_process_start (window->archive->process);
-	
-	fr_window_free_open_files (window);
 }
 
 



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