[gnome-packagekit] Add a summary data field in gpk-application for future use
- From: Richard Hughes <rhughes src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-packagekit] Add a summary data field in gpk-application for future use
- Date: Wed, 1 Jul 2009 12:52:25 +0000 (UTC)
commit b3473b919d9122b90313849840083ae7e5a2a470
Author: Richard Hughes <richard hughsie com>
Date: Wed Jul 1 13:17:48 2009 +0100
Add a summary data field in gpk-application for future use
src/gpk-application.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/gpk-application.c b/src/gpk-application.c
index d2e79c8..114c453 100644
--- a/src/gpk-application.c
+++ b/src/gpk-application.c
@@ -134,6 +134,7 @@ enum {
PACKAGES_COLUMN_CHECKBOX_VISIBLE, /* visible */
PACKAGES_COLUMN_TEXT,
PACKAGES_COLUMN_ID,
+ PACKAGES_COLUMN_SUMMARY,
PACKAGES_COLUMN_LAST
};
@@ -993,6 +994,7 @@ gpk_application_package_cb (PkClient *client, const PkPackageObj *obj, GpkApplic
PACKAGES_COLUMN_CHECKBOX, installed ^ in_queue,
PACKAGES_COLUMN_CHECKBOX_VISIBLE, enabled,
PACKAGES_COLUMN_TEXT, text,
+ PACKAGES_COLUMN_SUMMARY, obj->summary,
PACKAGES_COLUMN_ID, package_id,
PACKAGES_COLUMN_IMAGE, icon,
-1);
@@ -3106,6 +3108,7 @@ gpk_application_add_welcome (GpkApplication *application)
PACKAGES_COLUMN_CHECKBOX_VISIBLE, FALSE,
PACKAGES_COLUMN_TEXT, welcome,
PACKAGES_COLUMN_IMAGE, "system-search",
+ PACKAGES_COLUMN_SUMMARY, NULL,
PACKAGES_COLUMN_ID, NULL,
-1);
}
@@ -3448,6 +3451,7 @@ gpk_application_init (GpkApplication *application)
G_TYPE_BOOLEAN,
G_TYPE_BOOLEAN,
G_TYPE_STRING,
+ G_TYPE_STRING,
G_TYPE_STRING);
application->priv->groups_store = gtk_tree_store_new (GROUPS_COLUMN_LAST,
G_TYPE_STRING,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]