summaryrefslogtreecommitdiff
path: root/src/lib/still_image_content.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/still_image_content.cc')
-rw-r--r--src/lib/still_image_content.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/still_image_content.cc b/src/lib/still_image_content.cc
index e829e205d..d0600f52e 100644
--- a/src/lib/still_image_content.cc
+++ b/src/lib/still_image_content.cc
@@ -48,7 +48,8 @@ StillImageContent::StillImageContent (shared_ptr<const Film> f, shared_ptr<const
string
StillImageContent::summary () const
{
- return String::compose (_("%1 [still]"), path());
+ /* Get the string() here so that the name does not have quotes around it */
+ return String::compose (_("%1 [still]"), path().filename().string());
}
string