[gnome-packagekit/gnome-2-32] Ensure we show a removing icon after unticking an item and then clicking 'Selected Packages'. Fixes



commit 030c8a66b324f270cb509080aedfe4cdbf190e30
Author: Richard Hughes <richard hughsie com>
Date:   Tue Mar 15 12:03:42 2011 +0000

    Ensure we show a removing icon after unticking an item and then clicking 'Selected Packages'. Fixes rh#684478

 src/gpk-application.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gpk-application.c b/src/gpk-application.c
index 266c676..3f2f257 100644
--- a/src/gpk-application.c
+++ b/src/gpk-application.c
@@ -824,7 +824,7 @@ gpk_application_remove (GpkApplication *application)
 	package = pk_package_new ();
 	pk_package_set_id (package, package_id_selected, NULL);
 	g_object_set (package,
-		      "info", PK_INFO_ENUM_AVAILABLE,
+		      "info", PK_INFO_ENUM_INSTALLED,
 		      "summary", summary_selected,
 		      NULL);
 	pk_package_sack_add_package (application->priv->package_sack, package);



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