[nautilus] column-utilities: disable SELinux column if !HAVE_SELINUX (#631093)
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] column-utilities: disable SELinux column if !HAVE_SELINUX (#631093)
- Date: Wed, 13 Oct 2010 16:51:03 +0000 (UTC)
commit b0550951f461c2033f4d1aaa4404078c7a70f220
Author: Antoine Jacoutot <ajacoutot openbsd org>
Date: Wed Oct 13 18:51:01 2010 +0200
column-utilities: disable SELinux column if !HAVE_SELINUX (#631093)
libnautilus-private/nautilus-column-utilities.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libnautilus-private/nautilus-column-utilities.c b/libnautilus-private/nautilus-column-utilities.c
index b76e625..e2c2973 100644
--- a/libnautilus-private/nautilus-column-utilities.c
+++ b/libnautilus-private/nautilus-column-utilities.c
@@ -113,6 +113,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",
@@ -120,6 +121,7 @@ get_builtin_columns (void)
"label", _("SELinux Context"),
"description", _("The SELinux 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]