[gnome-software/603-gnome-software-reports-unknown-error-when-there-is-a-signing-issue] Apply 1 suggestion(s) to 1 file(s)



commit 56618df1d8ccd023858e2a15e3ac003c39edef7a
Author: Philip Withnall <philip tecnocode co uk>
Date:   Wed Jul 28 13:24:38 2021 +0000

    Apply 1 suggestion(s) to 1 file(s)

 plugins/packagekit/packagekit-common.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/plugins/packagekit/packagekit-common.c b/plugins/packagekit/packagekit-common.c
index c953a4008..a81a2bf45 100644
--- a/plugins/packagekit/packagekit-common.c
+++ b/plugins/packagekit/packagekit-common.c
@@ -108,7 +108,9 @@ gs_plugin_packagekit_error_convert (GError **error)
                        break;
                #else
                case PK_CLIENT_ERROR_FAILED:
-                       /* The text is not localized on the PackageKit side and it uses a generic error code 
*/
+                       /* The text is not localized on the PackageKit side and it uses a generic error code
+                        * FIXME: This can be dropped when we depend on a
+                        * PackageKit version which includes 
https://github.com/PackageKit/PackageKit/pull/497 */
                        if (g_strcmp0 (error_tmp->message, "user declined interaction") == 0)
                                error_tmp->code = GS_PLUGIN_ERROR_CANCELLED;
                        else


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