[gnome-packagekit] Some more fixes to the session interface
- From: Richard Hughes <rhughes src gnome org>
- To: svn-commits-list gnome org
- Cc: 
- Subject: [gnome-packagekit] Some more fixes to the session interface
- Date: Wed, 25 Nov 2009 12:06:04 +0000 (UTC)
commit e3961cdd1efb0748f83e19b2deb8a1e8e02a86d6
Author: Daniel Nicoletti <dantti85-pk yahoo com br>
Date:   Wed Nov 25 12:05:23 2009 +0000
    Some more fixes to the session interface
    
    Signed-off-by: Richard Hughes <richard hughsie com>
 src/gpk-dbus-task.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gpk-dbus-task.c b/src/gpk-dbus-task.c
index 3b39957..70658bf 100644
--- a/src/gpk-dbus-task.c
+++ b/src/gpk-dbus-task.c
@@ -807,7 +807,7 @@ gpk_dbus_task_search_file (GpkDbusTask *dtask, const gchar *search_file)
 	/* get the package list for the installed packages */
 	egg_debug ("package_name=%s", search_file);
 	values = g_strsplit (search_file, "&", -1);
-	pk_client_search_files_async (PK_CLIENT(dtask->priv->task), pk_bitfield_value (PK_FILTER_ENUM_INSTALLED), values, NULL,
+	pk_client_search_files_async (PK_CLIENT(dtask->priv->task), pk_bitfield_value (PK_FILTER_ENUM_NEWEST), values, NULL,
 				     (PkProgressCallback) gpk_dbus_task_progress_cb, dtask,
 				     (GAsyncReadyCallback) gpk_dbus_task_search_file_search_file_cb, dtask);
 	g_strfreev (values);
@@ -1464,7 +1464,7 @@ gpk_dbus_task_codec_what_provides_cb (PkClient *client, GAsyncResult *res, GpkDb
 	}
 
 	/* optional */
-	if (!dtask->priv->show_confirm_deps) {
+	if (!dtask->priv->show_confirm_install) {
 		egg_debug ("skip confirm as not allowed to interact with user");
 		goto skip_checks2;
 	}
@@ -2144,7 +2144,7 @@ gpk_dbus_task_catalog_lookup_cb (GObject *object, GAsyncResult *res, GpkDbusTask
 	}
 
 	/* optional */
-	if (!dtask->priv->show_confirm_deps) {
+	if (!dtask->priv->show_confirm_install) {
 		egg_debug ("skip confirm as not allowed to interact with user");
 		goto skip_checks;
 	}
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]