summaryrefslogtreecommitdiff
path: root/libcaja-private
diff options
context:
space:
mode:
authorJasmine Hassan <[email protected]>2012-11-07 01:53:16 +0200
committerJasmine Hassan <[email protected]>2012-11-16 09:45:53 +0200
commit29bf2205fbea100f3b799560a4d5b4ffece1ac53 (patch)
treec94826d9f3ab4404035214772791cd13100e83b6 /libcaja-private
parent43dad9d04402b97de8440366d03d43dbe954528a (diff)
downloadcaja-29bf2205fbea100f3b799560a4d5b4ffece1ac53.tar.bz2
caja-29bf2205fbea100f3b799560a4d5b4ffece1ac53.tar.xz
[column-utilities] disable SELinux column if !HAVE_SELINUX
http://git.gnome.org/browse/nautilus/commit/?id=b0550951f461c2033f4d1aaa4404078c7a70f220
Diffstat (limited to 'libcaja-private')
-rw-r--r--libcaja-private/caja-column-utilities.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcaja-private/caja-column-utilities.c b/libcaja-private/caja-column-utilities.c
index 3b789221..d649f518 100644
--- a/libcaja-private/caja-column-utilities.c
+++ b/libcaja-private/caja-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 (CAJA_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 (CAJA_TYPE_COLUMN,
"name", "where",