From 0b9943bc68e6d64c52f365a8d8253c6e074576c6 Mon Sep 17 00:00:00 2001 From: Diego Escalante Urrelo Date: Tue, 27 Mar 2012 18:08:55 -0500 Subject: e-location-entry: dim URL in completion rows https://bugzilla.gnome.org/show_bug.cgi?id=672927 --- lib/widgets/ephy-location-entry.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/widgets') diff --git a/lib/widgets/ephy-location-entry.c b/lib/widgets/ephy-location-entry.c index b68838f2d..d0d2b0d6e 100644 --- a/lib/widgets/ephy-location-entry.c +++ b/lib/widgets/ephy-location-entry.c @@ -908,9 +908,8 @@ textcell_data_func (GtkCellLayout *cell_layout, &color); att = pango_attr_foreground_new - (color.red, color.green, color.blue); + (color.red * 65535, color.green * 65535, color.blue * 65535); att->start_index = strlen (title)+1; - pango_attr_list_insert (list, att); g_free (title); } @@ -918,6 +917,7 @@ textcell_data_func (GtkCellLayout *cell_layout, { ctext = title; } + g_object_set (cell, "attributes", list, NULL); g_value_init (&text, G_TYPE_STRING); g_value_take_string (&text, ctext); -- cgit v1.2.3