[gnome-boxes/download-oses-page: 9/12] os-database: Show also OSes without a release date



commit 299d81c12dd409ccb6c048b32d428b19862406bc
Author: Felipe Borges <felipeborges gnome org>
Date:   Tue Jan 23 16:52:48 2018 +0100

    os-database: Show also OSes without a release date
    
    This allows us to show rolling releases such as Debian Testing and
    openSUSE Tumbleweed, for instance.

 src/os-database.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/os-database.vala b/src/os-database.vala
index a3626d04..64c21686 100644
--- a/src/os-database.vala
+++ b/src/os-database.vala
@@ -115,7 +115,7 @@ public async Os get_os_by_id (string id) throws OSDatabaseError {
             foreach (var media_entity in os.get_media_list ().get_elements ()) {
                 var media = media_entity as Media;
 
-                if (media.url != null && os.get_release_date () != null)
+                if (media.url != null)
                     after_list.append (media);
             }
         }


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