[nautilus: 1/2] column-utilities: Add detailed type column, remove MIME type
- From: Carlos Soriano <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus: 1/2] column-utilities: Add detailed type column, remove MIME type
- Date: Wed, 14 Mar 2018 15:27:35 +0000 (UTC)
commit 3e8a3a2df334c33178defcb9ebf66288f0c13466
Author: Alexandru Fazakas <alex fazakas97 yahoo com>
Date: Tue Feb 27 20:26:41 2018 +0200
column-utilities: Add detailed type column, remove MIME type
The MIME type column doesn't offer a lot of helpful information.
As an alternative solution, we replaced it with the "Detailed type" column.
Fixes https://gitlab.gnome.org/GNOME/nautilus/issues/198
src/nautilus-column-utilities.c | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
---
diff --git a/src/nautilus-column-utilities.c b/src/nautilus-column-utilities.c
index 3b600e0da..7f43b0060 100644
--- a/src/nautilus-column-utilities.c
+++ b/src/nautilus-column-utilities.c
@@ -36,7 +36,7 @@ static const char *default_column_order[] =
"owner",
"group",
"permissions",
- "mime_type",
+ "detailed_type",
"where",
"date_modified_with_time",
"date_modified",
@@ -81,6 +81,13 @@ get_builtin_columns (void)
"default-sort-order", GTK_SORT_DESCENDING,
"xalign", 1.0,
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_accessed",
@@ -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",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]