[gnome-software] packagekit: Don't prefix cache refresh error messages



commit 425c76e51a41091fde5b490f822317fc0c833727
Author: Kalev Lember <klember redhat com>
Date:   Wed Jan 30 15:13:09 2019 +0100

    packagekit: Don't prefix cache refresh error messages
    
    This duplicates the "Unable to download updates" title and makes the
    error message unnecessarily long and verbose.

 plugins/packagekit/gs-plugin-packagekit-refresh.c | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/plugins/packagekit/gs-plugin-packagekit-refresh.c 
b/plugins/packagekit/gs-plugin-packagekit-refresh.c
index ff893daa..1218fd9c 100644
--- a/plugins/packagekit/gs-plugin-packagekit-refresh.c
+++ b/plugins/packagekit/gs-plugin-packagekit-refresh.c
@@ -81,7 +81,6 @@ _download_only (GsPlugin *plugin, GsAppList *list,
                                         gs_packagekit_helper_cb, helper,
                                         error);
        if (!gs_plugin_packagekit_results_valid (results, error)) {
-               g_prefix_error (error, "failed to get updates for refresh: ");
                return FALSE;
        }
 
@@ -163,7 +162,6 @@ gs_plugin_refresh (GsPlugin *plugin,
                                           gs_packagekit_helper_cb, helper,
                                           error);
        if (!gs_plugin_packagekit_results_valid (results, error)) {
-               g_prefix_error (error, "failed to refresh cache: ");
                return FALSE;
        }
 


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