[gnome-boxes] assistant: Display downloadable entries URL in tooltip
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] assistant: Display downloadable entries URL in tooltip
- Date: Tue, 27 Apr 2021 10:33:53 +0000 (UTC)
commit d77f29ea2a4f3430712efd92f381d7cd535b5ae6
Author: Olivier Lemasle <o lemasle gmail com>
Date: Thu Apr 22 19:29:24 2021 +0200
assistant: Display downloadable entries URL in tooltip
src/assistant/downloadable-entry.vala | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/assistant/downloadable-entry.vala b/src/assistant/downloadable-entry.vala
index 50f5b9ec..3228b475 100644
--- a/src/assistant/downloadable-entry.vala
+++ b/src/assistant/downloadable-entry.vala
@@ -11,10 +11,7 @@
public string title {
get { return title_label.get_text (); }
- set {
- title_label.label = value;
- set_tooltip_text (value);
- }
+ set { title_label.label = value; }
}
public string details {
@@ -28,6 +25,7 @@ public AssistantDownloadableEntry (Osinfo.Media media) {
title = serialize_os_title (media);
details = media.os.vendor;
+ set_tooltip_text (media.url ?? title);
url = media.url;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]