id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
3285	mcedit: status line no longer shows full path to file	onlyjob	andrew_b	"As reported in Debian

    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=764226

//mcedit// used to print the full path of the current file in the status bar.
In new version of MC (4.8.13), this is unfortunately no longer the case.
(//mcview// still shows the full path).

I agree with reporter that it is more convenient to see full path in //mcedit// and that it is nice when such behaviour is in line with //mcview//. Please revert.

The following (untested) patch was proposed:

{{{
--- editdraw.c.orig	2014-09-02 12:23:58.000000000 +0300
+++ editdraw.c	2014-10-08 23:05:18.000000000 +0300
@@ -210,7 +210,7 @@
     status_len = (int) str_term_width1 (status);
 
     if (edit->filename_vpath != NULL)
-        fname = x_basename (vfs_path_get_last_path_str (edit->filename_vpath));
+        fname = vfs_path_get_last_path_str (edit->filename_vpath);
 
     fname_len = str_term_width1 (fname);
     if (fname_len < preferred_fname_len)
@@ -264,7 +264,7 @@
 
         if (edit->filename_vpath != NULL)
         {
-            fname = x_basename (vfs_path_as_str (edit->filename_vpath));
+            fname = vfs_path_as_str (edit->filename_vpath);
         }
 #ifdef ENABLE_NLS
         else
}}}
"	defect	closed	minor	4.8.14	mcedit	4.8.13	fixed					merged	committed-master
