[gnome-packagekit] Make the version and architecture gray in the GUI tools



commit 6f697a2cca6dcffbe63cd3e29861f66db259181a
Author: Richard Hughes <richard hughsie com>
Date:   Tue Aug 16 09:31:04 2011 +0100

    Make the version and architecture gray in the GUI tools

 src/gpk-common.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gpk-common.c b/src/gpk-common.c
index e3d20a9..9cf6d57 100644
--- a/src/gpk-common.c
+++ b/src/gpk-common.c
@@ -310,10 +310,12 @@ gpk_package_id_format_twoline (const gchar *package_id, const gchar *summary)
 	}
 
 	/* some backends don't provide this */
+	g_string_append (string, "<span color=\"gray\">");
 	if (split[PK_PACKAGE_ID_VERSION][0] != '\0')
 		g_string_append_printf (string, "-%s", split[PK_PACKAGE_ID_VERSION]);
 	if (split[PK_PACKAGE_ID_ARCH][0] != '\0')
 		g_string_append_printf (string, " (%s)", split[PK_PACKAGE_ID_ARCH]);
+	g_string_append (string, "</span>");
 
 	text = g_string_free (string, FALSE);
 out:



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