[gnome-software] steam: Set the origin hostname



commit 1b4126ed4ae919516c81d39a41a1aa9fae1a993e
Author: Richard Hughes <richard hughsie com>
Date:   Mon Jul 11 10:30:24 2016 +0100

    steam: Set the origin hostname

 src/plugins/gs-plugin-steam.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/gs-plugin-steam.c b/src/plugins/gs-plugin-steam.c
index a6fcf4a..dc17d26 100644
--- a/src/plugins/gs-plugin-steam.c
+++ b/src/plugins/gs-plugin-steam.c
@@ -794,6 +794,10 @@ gs_plugin_refine_app (GsPlugin *plugin,
        if (gs_app_get_size_download (app) == 0)
                gs_app_set_size_download (app, GS_APP_SIZE_UNKNOWABLE);
 
+       /* hardcoded */
+       if (gs_app_get_origin_hostname (app) == NULL)
+               gs_app_set_origin_hostname (app, "steampowered.com");
+
        /* size */
        tmp = gs_app_get_metadata_item (app, "X-Steam-Size");
        if (tmp != NULL) {


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