summaryrefslogtreecommitdiff
path: root/src/display.cpp
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2009-08-14 00:47:48 +0200
committerAndrzej Rybczak <electricityispower@gmail.com>2009-08-14 00:47:48 +0200
commite68306c8c0452f95fa0b664d7a5f7e71ea759125 (patch)
tree5c1b7d8796131994d34128a8dba0b542f465cb41 /src/display.cpp
parent8ad1a04b681b988330381f41b6509d6809cc3298 (diff)
throw away full path from song format in favor of directory
Diffstat (limited to 'src/display.cpp')
-rw-r--r--src/display.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/display.cpp b/src/display.cpp
index 42800938..a700a68b 100644
--- a/src/display.cpp
+++ b/src/display.cpp
@@ -63,8 +63,8 @@ std::string Display::Columns()
case 'f':
tag = "Filename";
break;
- case 'F':
- tag = "Full filename";
+ case 'D':
+ tag = "Directory";
break;
case 'a':
tag = "Artist";
@@ -147,8 +147,8 @@ void Display::SongsInColumns(const MPD::Song &s, void *, Menu<MPD::Song> *menu)
case 'l':
get = &MPD::Song::GetLength;
break;
- case 'F':
- get = &MPD::Song::GetFile;
+ case 'D':
+ get = &MPD::Song::GetDirectory;
break;
case 'f':
get = &MPD::Song::GetName;
@@ -252,11 +252,11 @@ void Display::Songs(const MPD::Song &s, void *data, Menu<MPD::Song> *menu)
else
buf << TO_WSTRING(s.GetLength());
break;
- case 'F':
+ case 'D':
if (!right)
- *menu << s.GetFile();
+ *menu << s.GetDirectory();
else
- buf << TO_WSTRING(s.GetFile());
+ buf << TO_WSTRING(s.GetDirectory());
break;
case 'f':
if (!right)