[Xfce4-commits] [xfce/thunar] 01/01: File / Folder size text in statusbar sometimes is ambiguous II (Bug #14203) - fixed problem with empty folders ( no text returned )
noreply at xfce.org
noreply at xfce.org
Mon Aug 20 13:22:57 CEST 2018
This is an automated email from the git hooks/post-receive script.
a l e x p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/thunar.
commit 130870f0dd6aa50b5849a282d2669be0d9a44579
Author: Alexander Schwinn <alexxcons at xfce.org>
Date: Mon Aug 20 13:22:32 2018 +0200
File / Folder size text in statusbar sometimes is ambiguous II
(Bug #14203)
- fixed problem with empty folders ( no text returned )
---
thunar/thunar-list-model.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/thunar/thunar-list-model.c b/thunar/thunar-list-model.c
index 7a730a4..529e4e3 100644
--- a/thunar/thunar-list-model.c
+++ b/thunar/thunar-list-model.c
@@ -2366,7 +2366,9 @@ thunar_list_model_get_statusbar_text_for_files (GList *files,
folder_count), folder_count);
}
- if (folder_text == NULL)
+ if (folder_text == NULL && non_folder_text == NULL)
+ text = g_strdup_printf (_("0 items"));
+ else if (folder_text == NULL)
text = non_folder_text;
else if (non_folder_text == NULL)
text = folder_text;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list