[gnome-packagekit] Set the size value to zero when we get an info update
- From: Richard Hughes <rhughes src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-packagekit] Set the size value to zero when we get an info update
- Date: Mon, 20 Apr 2009 06:30:25 -0400 (EDT)
commit 903ebaa000e00042fdbd733989aa89761828ddef
Author: Richard Hughes <richard hughsie com>
Date: Sun Apr 19 11:59:05 2009 +0100
Set the size value to zero when we get an info update
---
src/gpk-update-viewer.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/gpk-update-viewer.c b/src/gpk-update-viewer.c
index 0cde03f..d009adb 100644
--- a/src/gpk-update-viewer.c
+++ b/src/gpk-update-viewer.c
@@ -610,6 +610,11 @@ gpk_update_viewer_package_cb (PkClient *client, const PkPackageObj *obj, gpointe
}
gtk_list_store_set (list_store_updates, &iter,
GPK_UPDATES_COLUMN_STATUS, info, -1);
+
+ /* set size zero when we get a info update */
+ gtk_list_store_set (list_store_updates, &iter,
+ GPK_UPDATES_COLUMN_SIZE, 0, -1);
+
gtk_tree_path_free (path);
/* set package description */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]