[gnome-packagekit] Fix installing using GpkTask when the user has asked to skip the dep dialog



commit dc92503288cf596df881194ed8d4386a3b8b0e92
Author: Richard Hughes <richard hughsie com>
Date:   Mon Nov 23 15:44:38 2009 +0000

    Fix installing using GpkTask when the user has asked to skip the dep dialog

 src/gpk-task.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gpk-task.c b/src/gpk-task.c
index 39184df..86c6f55 100644
--- a/src/gpk-task.c
+++ b/src/gpk-task.c
@@ -386,6 +386,9 @@ gpk_task_simulate_question (PkTask *task, guint request, PkResults *results)
 	const gchar *title;
 	const gchar *message = NULL;
 
+	/* save the current request */
+	priv->request = request;
+
 	/* get data about the transaction */
 	g_object_get (results,
 		      "role", &role,
@@ -440,9 +443,6 @@ gpk_task_simulate_question (PkTask *task, guint request, PkResults *results)
 		message = _("To process this transaction, additional software is required.");
 	}
 
-	/* save the current request */
-	priv->request = request;
-
 	/* get data */
 	array = pk_results_get_package_array (results);
 



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