[nautilus] When set to display the real name don't also show the username



commit 45158d47bb582c621617d6582fff1e16d6a102c9
Author: William Jon McCann <jmccann redhat com>
Date:   Mon Jul 16 09:59:58 2012 -0400

    When set to display the real name don't also show the username
    
    This adds a lot of noise to the list view.

 libnautilus-private/nautilus-file.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/libnautilus-private/nautilus-file.c b/libnautilus-private/nautilus-file.c
index 8f3ee67..598b4db 100644
--- a/libnautilus-private/nautilus-file.c
+++ b/libnautilus-private/nautilus-file.c
@@ -5609,9 +5609,7 @@ nautilus_file_get_owner_as_string (NautilusFile *file, gboolean include_real_nam
 		user_name = g_strdup (eel_ref_str_peek (file->details->owner_real));
 	} else if (include_real_name &&
 		   strcmp (eel_ref_str_peek (file->details->owner), eel_ref_str_peek (file->details->owner_real)) != 0) {
-		user_name = g_strdup_printf ("%s - %s",
-					     eel_ref_str_peek (file->details->owner),
-					     eel_ref_str_peek (file->details->owner_real));
+		user_name = g_strdup (eel_ref_str_peek (file->details->owner_real));
 	} else {
 		user_name = g_strdup (eel_ref_str_peek (file->details->owner));
 	}



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