[file-roller] The properties panel shows an incorrect number of files after file deletion
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller] The properties panel shows an incorrect number of files after file deletion
- Date: Sun, 25 Nov 2012 10:13:09 +0000 (UTC)
commit 02e981a757509f4d9d40f448613f1ab54fbe7288
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sun Nov 25 11:12:29 2012 +0100
The properties panel shows an incorrect number of files after file
deletion
[bug #688634]
src/fr-archive.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/fr-archive.c b/src/fr-archive.c
index 55efebe..66e46e9 100644
--- a/src/fr-archive.c
+++ b/src/fr-archive.c
@@ -848,6 +848,7 @@ fr_archive_list (FrArchive *archive,
g_hash_table_remove_all (archive->files_hash);
_g_ptr_array_free_full (archive->files, (GFunc) file_data_free, NULL);
archive->files = g_ptr_array_sized_new (FILE_ARRAY_INITIAL_SIZE);
+ archive->n_regular_files = 0;
}
FR_ARCHIVE_GET_CLASS (archive)->list (archive, password, cancellable, callback, user_data);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]