diff options
author | ZenWalker <[email protected]> | 2017-05-04 16:35:25 +0200 |
---|---|---|
committer | ZenWalker <[email protected]> | 2017-05-04 16:35:25 +0200 |
commit | 988b01c1492930741f2a61eb89781df495fbf0f6 (patch) | |
tree | 148c1a7841bad30c277c97e302110c340feaffea /src/fr-window.c | |
parent | dff9db3296b4d0e7711271f429a70c7340a68e85 (diff) | |
download | engrampa-988b01c1492930741f2a61eb89781df495fbf0f6.tar.bz2 engrampa-988b01c1492930741f2a61eb89781df495fbf0f6.tar.xz |
hide folders in "View All Files"
Fixes #172
Diffstat (limited to 'src/fr-window.c')
-rw-r--r-- | src/fr-window.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/fr-window.c b/src/fr-window.c index 50af191..e058b3d 100644 --- a/src/fr-window.c +++ b/src/fr-window.c @@ -1117,9 +1117,8 @@ compute_file_list_name (FrWindow *window, return FALSE; if (window->priv->list_mode == FR_WINDOW_LIST_MODE_FLAT) { - file_data_set_list_name (fdata, fdata->name); - if (fdata->dir) - fdata->dir_size = 0; + if (!(fdata->dir)) + file_data_set_list_name (fdata, fdata->name); return FALSE; } |