No need to display SELinux context which will always be 'unknown' for us.

This commit is contained in:
ajacoutot 2010-10-01 13:21:09 +00:00
parent d9ac823e37
commit f0b71e9f3e
2 changed files with 22 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.69 2010/09/30 07:46:04 ajacoutot Exp $ # $OpenBSD: Makefile,v 1.70 2010/10/01 13:21:09 ajacoutot Exp $
COMMENT= GNOME shell and file manager COMMENT= GNOME shell and file manager
@ -17,6 +17,8 @@ COMMENT= GNOME shell and file manager
GNOME_PROJECT= nautilus GNOME_PROJECT= nautilus
GNOME_VERSION= 2.32.0 GNOME_VERSION= 2.32.0
REVISION= 0
SHARED_LIBS += nautilus-extension 2.0 # .2.0 SHARED_LIBS += nautilus-extension 2.0 # .2.0
CATEGORIES= x11 CATEGORIES= x11

View File

@ -0,0 +1,19 @@
$OpenBSD: patch-libnautilus-private_nautilus-column-utilities_c,v 1.1 2010/10/01 13:21:09 ajacoutot Exp $
--- libnautilus-private/nautilus-column-utilities.c.orig Fri Oct 1 14:55:26 2010
+++ libnautilus-private/nautilus-column-utilities.c Fri Oct 1 14:56:24 2010
@@ -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",