[nautilus] file-utilities: return "Home" as a title for the home directory
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] file-utilities: return "Home" as a title for the home directory
- Date: Mon, 21 Mar 2011 14:23:25 +0000 (UTC)
commit 1469c27280be10a92aa92195023eb1bbf4a5d10c
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Mar 21 10:13:41 2011 -0400
file-utilities: return "Home" as a title for the home directory
Make it consistent with the rest of the UI.
https://bugzilla.gnome.org/show_bug.cgi?id=645136
libnautilus-private/nautilus-file-utilities.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/libnautilus-private/nautilus-file-utilities.c b/libnautilus-private/nautilus-file-utilities.c
index 0c0da78..6e5e28c 100644
--- a/libnautilus-private/nautilus-file-utilities.c
+++ b/libnautilus-private/nautilus-file-utilities.c
@@ -63,6 +63,10 @@ nautilus_compute_title_for_location (GFile *location)
/* TODO-gio: This doesn't really work all that great if the
info about the file isn't known atm... */
+
+ if (nautilus_is_home_directory (location)) {
+ return g_strdup (_("Home"));
+ }
title = NULL;
if (location) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]