[gnome-boxes] wizard-source: Tag "live" medias in the Downloadable subrows



commit 1749632c9e66a4a696e7e77da2f89cfd0a787459
Author: Felipe Borges <felipeborges gnome org>
Date:   Mon Nov 27 11:54:48 2017 +0100

    wizard-source: Tag "live" medias in the Downloadable subrows
    
    https://bugzilla.gnome.org/show_bug.cgi?id=790614

 src/wizard-source.vala |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/wizard-source.vala b/src/wizard-source.vala
index c85f880..f26376e 100644
--- a/src/wizard-source.vala
+++ b/src/wizard-source.vala
@@ -67,6 +67,9 @@ private class Boxes.WizardDownloadableMediaEntry : Gtk.ListBoxRow {
         var label = new Gtk.Label (file.get_basename ());
         label.halign = Gtk.Align.START;
 
+        if (media.live)
+            label.label += " (" + _("Live") + ")";
+
         add (label);
 
         this.get_style_context ().add_class ("boxes-menu-row");


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]