diff src/view_file_list.c @ 1599:b8e2690c440a

expose the file grouping flag to the user
author nadvornik
date Sat, 09 May 2009 19:45:24 +0000
parents 4df9f4712d1a
children 74a7f9ea32a1
line wrap: on
line diff
--- a/src/view_file_list.c	Sat May 09 19:25:51 2009 +0000
+++ b/src/view_file_list.c	Sat May 09 19:45:24 2009 +0000
@@ -799,7 +799,8 @@
 		}
 	else
 		{
-		name_sidecars = g_strdup_printf("%s%s", link, fd->name);
+		gchar *disabled_grouping = fd->disable_grouping ? _(" [NO GROUPING]") : "";
+		name_sidecars = g_strdup_printf("%s%s%s", link, fd->name, disabled_grouping);
 		}
 	size = text_from_size(fd->size);