nautilus r14028 - in branches/gnome-2-22: . libnautilus-private



Author: tbzatek
Date: Thu Apr  3 15:51:00 2008
New Revision: 14028
URL: http://svn.gnome.org/viewvc/nautilus?rev=14028&view=rev

Log:
2008-04-03  Tomas Bzatek  <tbzatek redhat com>  

        * libnautilus-private/nautilus-file.c: (update_info_internal):
        Fix SELinux:context attribute display issue



Modified:
   branches/gnome-2-22/ChangeLog
   branches/gnome-2-22/libnautilus-private/nautilus-file.c

Modified: branches/gnome-2-22/libnautilus-private/nautilus-file.c
==============================================================================
--- branches/gnome-2-22/libnautilus-private/nautilus-file.c	(original)
+++ branches/gnome-2-22/libnautilus-private/nautilus-file.c	Thu Apr  3 15:51:00 2008
@@ -1799,7 +1799,7 @@
 	eel_ref_str_unref (file->details->mime_type);
 	file->details->mime_type = eel_ref_str_get_unique (mime_type);
 	
-	selinux_context = g_file_info_get_attribute_string (info, "selinux:context");
+	selinux_context = g_file_info_get_attribute_string (info, G_FILE_ATTRIBUTE_SELINUX_CONTEXT);
 	if (eel_strcmp (file->details->selinux_context, selinux_context) != 0) {
 		changed = TRUE;
 		g_free (file->details->selinux_context);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]