[gnome-software/wip/iainl/ubuntu-xenial] Fix sending the wrong string to aptd InstallFile



commit a98db57a724ea4433b03e9101964c1b594fa89e5
Author: Robert Ancell <robert ancell canonical com>
Date:   Mon Apr 25 09:28:46 2016 +0200

    Fix sending the wrong string to aptd InstallFile

 src/plugins/gs-plugin-apt.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-plugin-apt.cc b/src/plugins/gs-plugin-apt.cc
index 10acfa9..223993d 100644
--- a/src/plugins/gs-plugin-apt.cc
+++ b/src/plugins/gs-plugin-apt.cc
@@ -916,7 +916,7 @@ gs_plugin_app_install (GsPlugin *plugin,
        case AS_APP_STATE_AVAILABLE_LOCAL:
                gs_app_set_state (app, AS_APP_STATE_INSTALLING);
                success = aptd_transaction (plugin, "InstallFile", app, NULL,
-                                           g_variant_new_parsed ("(%s, true)", gs_app_get_origin (app)),
+                                           g_variant_new_parsed ("(%s, true)", gs_app_get_source_default 
(app)),
                                            error);
                break;
        default:


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