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



commit a8a4cbc3223cb497c926028434f6cf362e34aa4e
Author: Robert Ancell <robert ancell canonical com>
Date:   Mon Apr 25 09:36:37 2016 +0200

    Revert "Fix sending the wrong string to aptd InstallFile"
    
    This reverts commit a98db57a724ea4433b03e9101964c1b594fa89e5.

 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 223993d..10acfa9 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_source_default 
(app)),
+                                           g_variant_new_parsed ("(%s, true)", gs_app_get_origin (app)),
                                            error);
                break;
        default:


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