[gnome-commander] File properties: use 'Directory name:' intead of 'File name:' for directories



commit 2ff2d200bf09a65d00cf41fb3c57ffc5f3d6397e
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Mon Sep 28 23:29:39 2009 +0200

    File properties: use 'Directory name:' intead of 'File name:' for directories

 src/gnome-cmd-file-props-dialog.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-cmd-file-props-dialog.cc b/src/gnome-cmd-file-props-dialog.cc
index 06b30c8..5d64e70 100644
--- a/src/gnome-cmd-file-props-dialog.cc
+++ b/src/gnome-cmd-file-props-dialog.cc
@@ -372,7 +372,7 @@ inline GtkWidget *create_properties_tab (GnomeCmdFilePropsDialogPrivate *data)
     table = create_table (dialog, 6, 3);
     gtk_container_add (GTK_CONTAINER (space_frame), table);
 
-    label = create_bold_label (dialog, _("File name:"));
+    label = create_bold_label (dialog, GNOME_CMD_IS_DIR (data->f) ? _("Directory name:") : _("File name:"));
     table_add (table, label, 0, y, GTK_FILL);
 
     fname = get_utf8 (gnome_cmd_file_get_name (data->f));



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