Skip to content

Commit 15f92ee

Browse files
committed
nemo-file.c: Don't display 'unknown' in the extension column if
a file has none.
1 parent a89c95c commit 15f92ee

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

libnemo-private/nemo-file.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6788,7 +6788,8 @@ nemo_file_get_string_attribute_q (NemoFile *file, GQuark attribute_q)
67886788
if (ext) {
67896789
return g_strdup (ext + 1);
67906790
}
6791-
return NULL;
6791+
6792+
return g_strdup ("");
67926793
}
67936794
if (attribute_q == attribute_type_q) {
67946795
return nemo_file_get_type_as_string (file);

0 commit comments

Comments
 (0)