Commit 0441a03d authored by Alexandru Fazakas's avatar Alexandru Fazakas
Browse files

column-utilities: Add detailed type column, remove MIME type

MIME types are not very useful information-wise to end users.

As an alternative, in this patch we replaced the MIME type column with the
"Detailed type".

Fixes GNOME/nautilus#198
parent 1cfd261f
Pipeline #4390 passed with stage
in 3 minutes and 8 seconds
......@@ -36,7 +36,7 @@ static const char *default_column_order[] =
"owner",
"group",
"permissions",
"mime_type",
"detailed_type",
"where",
"date_modified_with_time",
"date_modified",
......@@ -72,6 +72,13 @@ get_builtin_columns (void)
"label", _("Type"),
"description", _("The type of the file."),
NULL));
columns = g_list_append (columns,
g_object_new (NAUTILUS_TYPE_COLUMN,
"name", "detailed_type",
"attribute", "detailed_type",
"label", _("Detailed Type"),
"description", _("The detailed type of the file."),
NULL));
columns = g_list_append (columns,
g_object_new (NAUTILUS_TYPE_COLUMN,
"name", "date_modified",
......@@ -115,14 +122,6 @@ get_builtin_columns (void)
"description", _("The permissions of the file."),
NULL));
columns = g_list_append (columns,
g_object_new (NAUTILUS_TYPE_COLUMN,
"name", "mime_type",
"attribute", "mime_type",
"label", _("MIME Type"),
"description", _("The MIME type of the file."),
NULL));
columns = g_list_append (columns,
g_object_new (NAUTILUS_TYPE_COLUMN,
"name", "where",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment