summaryrefslogtreecommitdiff
path: root/src/Properties.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2023-11-20 18:25:49 +0100
committerJörg Frings-Fürst <debian@jff.email>2023-11-20 18:25:49 +0100
commit394326a81d1248bbc5b1a35a8ae623c65ef6a9ea (patch)
tree315f7cf2a7934b0ecf45ac2caa3c87949a90dfc4 /src/Properties.vala
parent918f560d56129ed03f19d843ea2efd7cb4b23821 (diff)
parent87ba373882f475f02a524a120b59ea9fcccf14e5 (diff)
Update upstream source from tag 'upstream/0.32.3'
Update to upstream version '0.32.3' with Debian dir e5e2a77e8650a79f6e85cccb15c070434b0fd667
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