summaryrefslogtreecommitdiff
path: root/src/Thumbnail.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-08-20 15:11:08 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-08-20 15:11:08 +0200
commitcb612a12b952e349b96d427645aaeb55d15f509a (patch)
treef29298f41d2a7ea2a976616243aca64c2c2547ce /src/Thumbnail.vala
parente7be93745e4a2ff3aa255227bef7b9d3b733aafa (diff)
parent143bfc9f801c84428074312d661f8e08803df83b (diff)
Merge tag 'upstream/0.23.5'
Upstream version 0.23.5
Diffstat (limited to 'src/Thumbnail.vala')
-rw-r--r--src/Thumbnail.vala6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Thumbnail.vala b/src/Thumbnail.vala
index 983ab75..2fe28e8 100644
--- a/src/Thumbnail.vala
+++ b/src/Thumbnail.vala
@@ -80,11 +80,9 @@ public class Thumbnail : MediaSourceItem {
private void update_tags(bool init = false) {
Gee.Collection<Tag>? tags = Tag.global.fetch_sorted_for_source(media);
if (tags == null || tags.size == 0)
- clear_subtitle();
- else if (!init)
- set_subtitle(Tag.make_tag_string(tags, "<small>", ", ", "</small>", true), true);
+ clear_tags();
else
- set_subtitle("<small>.</small>", true);
+ set_tags(tags);
}
private void on_tag_contents_altered(ContainerSource container, Gee.Collection<DataSource>? added,