[gnome-packagekit] trivial: Make the size the insensitive color in the update viewer
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-packagekit] trivial: Make the size the insensitive color in the update viewer
- Date: Mon, 22 Aug 2011 20:01:40 +0000 (UTC)
commit 810a7c65f6e895eaff0bfb2d04774a4d3b9b06f9
Author: Richard Hughes <richard hughsie com>
Date: Mon Aug 22 20:12:12 2011 +0100
trivial: Make the size the insensitive color in the update viewer
src/gpk-update-viewer.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/gpk-update-viewer.c b/src/gpk-update-viewer.c
index 65fb62b..919db70 100644
--- a/src/gpk-update-viewer.c
+++ b/src/gpk-update-viewer.c
@@ -1727,9 +1727,13 @@ gpk_update_viewer_treeview_add_columns_update (GtkTreeView *treeview)
/* size */
renderer = gpk_cell_renderer_size_new ();
+ gtk_style_context_get_color (gtk_widget_get_style_context (GTK_WIDGET (treeview)),
+ GTK_STATE_FLAG_INSENSITIVE,
+ &inactive);
g_object_set (renderer,
"alignment", PANGO_ALIGN_RIGHT,
"xalign", 1.0f,
+ "foreground-rgba", &inactive,
NULL);
g_object_set (renderer,
"value", GPK_UPDATES_COLUMN_SIZE_DISPLAY, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]