summaryrefslogtreecommitdiff
path: root/src/Properties.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2023-11-20 18:25:30 +0100
committerJörg Frings-Fürst <debian@jff.email>2023-11-20 18:25:30 +0100
commit87ba373882f475f02a524a120b59ea9fcccf14e5 (patch)
tree9ad3592a2dc3561b9919408869e38b07247ee9e3 /src/Properties.vala
parentd0aaad443a88968dc61172c050084d3d9faa7602 (diff)
New upstream version 0.32.3upstream/0.32.3
Diffstat (limited to 'src/Properties.vala')
-rw-r--r--src/Properties.vala10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Properties.vala b/src/Properties.vala
index c0cf2fd..b8c3e0d 100644
--- a/src/Properties.vala
+++ b/src/Properties.vala
@@ -46,13 +46,13 @@ private abstract class Properties : Gtk.Box {
} else {
Gtk.Label info_label = new Gtk.Label("");
if (!is_string_empty(info_text)) {
- info_label.set_tooltip_markup(info_text);
+ info_label.set_tooltip_text(info_text);
}
if (href == null) {
- info_label.set_markup(is_string_empty(info_text) ? "" : info_text);
+ info_label.set_text(is_string_empty(info_text) ? "" : info_text);
} else {
- info_label.set_markup("<a href=\"%s\">%s</a>".printf(href, info_text));
+ info_label.set_markup("<a href=\"%s\">%s</a>".printf(href, Markup.escape_text(info_text)));
}
info_label.set_ellipsize(Pango.EllipsizeMode.END);
info_label.halign = Gtk.Align.START;
@@ -534,8 +534,8 @@ private class ExtendedProperties : Properties {
if (source is MediaSource) {
MediaSource media = (MediaSource) source;
- file_path = media.get_master_file().get_path();
- development_path = media.get_file().get_path();
+ file_path = Filename.display_name(media.get_master_file().get_path());
+ development_path = Filename.display_name(media.get_file().get_path());
filesize = media.get_master_filesize();
// as of right now, all extended properties other than filesize, filepath & comment aren't