[gnome-software/wip/temp/ubuntu-xenial-rebased-corrected: 287/331]	Revert "Fix sending the wrong string to aptd InstallFile"
- From: William Hua <williamhua src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gnome-software/wip/temp/ubuntu-xenial-rebased-corrected: 287/331]	Revert "Fix sending the wrong string to aptd InstallFile"
- Date: Wed,  4 May 2016 14:22:39 +0000 (UTC)
commit f8a353b1a73294a4ca97f1af09ced83bd67a8331
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 9c9c805..d1074d4 100644
--- a/src/plugins/gs-plugin-apt.cc
+++ b/src/plugins/gs-plugin-apt.cc
@@ -906,7 +906,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]