[nautilus] Don't offer to show selinux context in a column by default
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] Don't offer to show selinux context in a column by default
- Date: Mon, 10 Sep 2012 13:53:01 +0000 (UTC)
commit 90f475c4dfe6136e7e4b5d769993ed971e3996c6
Author: William Jon McCann <jmccann redhat com>
Date: Mon Sep 10 09:16:37 2012 -0400
Don't offer to show selinux context in a column by default
This field is cryptic, far too wide for the view, already displayed
in the properties dialog, is available through other means, and is
an implementation detail that isn't settable by users.
libnautilus-private/nautilus-column-utilities.c | 11 +----------
1 files changed, 1 insertions(+), 10 deletions(-)
---
diff --git a/libnautilus-private/nautilus-column-utilities.c b/libnautilus-private/nautilus-column-utilities.c
index ea8aad2..b9c5afa 100644
--- a/libnautilus-private/nautilus-column-utilities.c
+++ b/libnautilus-private/nautilus-column-utilities.c
@@ -40,7 +40,6 @@ static const char *default_column_order[] = {
"group",
"permissions",
"mime_type",
- "selinux_context",
"where",
NULL
};
@@ -112,15 +111,7 @@ get_builtin_columns (void)
"label", _("MIME Type"),
"description", _("The mime type of the file."),
NULL));
-#ifdef HAVE_SELINUX
- columns = g_list_append (columns,
- g_object_new (NAUTILUS_TYPE_COLUMN,
- "name", "selinux_context",
- "attribute", "selinux_context",
- "label", _("Security Context"),
- "description", _("The security context of the file."),
- NULL));
-#endif
+
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]