summaryrefslogtreecommitdiff
path: root/src/Properties.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2023-11-24 08:37:53 +0100
committerJörg Frings-Fürst <debian@jff.email>2023-11-24 08:37:53 +0100
commit1bf62485f701b52ae27433e3570ac24cd7da886f (patch)
tree0f7be6ad3efd0c75fdad81d8bef5513d477f8d11 /src/Properties.vala
parent008bc99860fd353a5da5d06e6be5937f4a358aed (diff)
parenta7f185a9852392d1d6290771db6289c97c401a36 (diff)
Merge branch 'release/debian/0.32.3-1'debian/0.32.3-1
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