[Xfce4-commits] <thunar:master> Use "File System" rather than "/" for the filesystem display name.
Jannis Pohlmann
jannis at xfce.org
Thu Sep 3 16:06:01 CEST 2009
Updating branch refs/heads/master
to ce5907275f341662275bcf1ff38f8b18142e28bc (commit)
from eac80339bb926e833181878dfea6387e2c4bf9c1 (commit)
commit ce5907275f341662275bcf1ff38f8b18142e28bc
Author: Jannis Pohlmann <jannis at xfce.org>
Date: Thu Sep 3 15:58:27 2009 +0200
Use "File System" rather than "/" for the filesystem display name.
thunar/thunar-file.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/thunar/thunar-file.c b/thunar/thunar-file.c
index ee1a232..8f723f7 100644
--- a/thunar/thunar-file.c
+++ b/thunar/thunar-file.c
@@ -850,7 +850,10 @@ thunar_file_load (ThunarFile *file,
/* determine the display name */
if (file->info != NULL)
{
- file->display_name = g_strdup (g_file_info_get_display_name (file->info));
+ if (g_strcmp0 (g_file_info_get_display_name (file->info), "/") == 0)
+ file->display_name = g_strdup (_("File System"));
+ else
+ file->display_name = g_strdup (g_file_info_get_display_name (file->info));
}
else
{
More information about the Xfce4-commits
mailing list