diff options
author | ZenWalker <[email protected]> | 2016-06-11 01:11:19 +0200 |
---|---|---|
committer | ZenWalker <[email protected]> | 2016-06-11 01:11:19 +0200 |
commit | e03db39aa221d404e14ee3cf1d282e8d2f362c2d (patch) | |
tree | 4c69954cde6537e6a67d8908f2a84fa1e2e83ff9 /src | |
parent | 0c2b58bdf72f16e3fc0bef918a8ef5ad30970ed9 (diff) | |
download | engrampa-e03db39aa221d404e14ee3cf1d282e8d2f362c2d.tar.bz2 engrampa-e03db39aa221d404e14ee3cf1d282e8d2f362c2d.tar.xz |
fixed: engrampa shows duplicate folders
Fixed: When I open a tarball and navigate to a subfolder and then back to the main folder, the gui shows extra "copies" of the folders.
file-roller commit:
https://git.gnome.org/browse/file-roller/commit/?id=ee2056c8f99afb9c6530716a4d22be5e4a5e7a35
Diffstat (limited to 'src')
-rw-r--r-- | src/fr-window.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/fr-window.c b/src/fr-window.c index c57f453..9a734be 100644 --- a/src/fr-window.c +++ b/src/fr-window.c @@ -1156,8 +1156,6 @@ compute_file_list_name (FrWindow *window, fdata->list_dir = TRUE; file_data_set_list_name (fdata, dir_name); fdata->dir_size = get_dir_size (window, current_dir, dir_name); - - g_free (dir_name); } return TRUE; @@ -1178,7 +1176,7 @@ fr_window_compute_list_names (FrWindow *window, current_dir = fr_window_get_current_location (window); current_dir_len = strlen (current_dir); - names_hash = g_hash_table_new (g_str_hash, g_str_equal); + names_hash = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL); for (i = 0; i < files->len; i++) { FileData *fdata = g_ptr_array_index (files, i); |