Fix missing filename tooltip

When hovering over a thumb which has characters in its filename which
are used in markup, such as '&', the tooltip was missing, due to the
ampersand being parsed as markup. Now the filename is treated as plain
text.
This commit is contained in:
Morgan Hardwood
2019-07-25 12:04:45 +02:00
parent a6b1eb46fd
commit 4cbc2a9091

View File

@@ -749,7 +749,7 @@ bool ThumbBrowserBase::Internal::on_query_tooltip (int x, int y, bool keyboard_t
}
if (!ttip.empty()) {
tooltip->set_markup (ttip);
tooltip->set_text(ttip);
return true;
} else {
return false;