[gnome-packagekit] Add a compat info enum so that gpk-update-viewer works correctly with git master



commit 2ac8ed7f7d56c1123fe29a95aa30d28ac259932e
Author: Richard Hughes <richard hughsie com>
Date:   Fri Sep 4 15:23:38 2009 +0100

    Add a compat info enum so that gpk-update-viewer works correctly with git master

 src/gpk-enum.c |    1 +
 src/gpk-enum.h |    3 +++
 2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/gpk-enum.c b/src/gpk-enum.c
index 3db0658..2ab38c3 100644
--- a/src/gpk-enum.c
+++ b/src/gpk-enum.c
@@ -53,6 +53,7 @@ static const PkEnumMatch enum_info_icon_name[] = {
 	{PK_INFO_ENUM_COLLECTION_AVAILABLE,	"pk-collection-available"},
 	{PK_INFO_ENUM_FINISHED,			"dialog-information"},
 	{PK_INFO_ENUM_REINSTALLING,		"dialog-information"},
+	{PK_INFO_ENUM_DOWNGRADING,		"pk-package-update"},
 	{0, NULL}
 };
 
diff --git a/src/gpk-enum.h b/src/gpk-enum.h
index 73b8b0b..c907b5c 100644
--- a/src/gpk-enum.h
+++ b/src/gpk-enum.h
@@ -131,7 +131,10 @@ typedef guint PkMediaTypeEnum;
 #define PK_ROLE_ENUM_SIMULATE_UPDATE_PACKAGES		(PK_ROLE_ENUM_SIMULATE_REMOVE_PACKAGES + 1)
 #undef PK_ROLE_ENUM_UNKNOWN
 #define PK_ROLE_ENUM_UNKNOWN				(PK_ROLE_ENUM_SIMULATE_UPDATE_PACKAGES + 1)
+#undef PK_INFO_ENUM_UNKNOWN
 #define PK_INFO_ENUM_REINSTALLING			(PK_INFO_ENUM_FINISHED + 1)
+#define PK_INFO_ENUM_DOWNGRADING			(PK_INFO_ENUM_REINSTALLING + 1)
+#define PK_INFO_ENUM_UNKNOWN				(PK_INFO_ENUM_DOWNGRADING + 1)
 #endif
 
 void		 gpk_enum_test				(gpointer	 data);



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