diff options
author | Diego Escalante Urrelo <diegoe@igalia.com> | 2012-03-28 07:08:55 +0800 |
---|---|---|
committer | Diego Escalante Urrelo <diegoe@igalia.com> | 2012-03-31 03:58:55 +0800 |
commit | 0b9943bc68e6d64c52f365a8d8253c6e074576c6 (patch) | |
tree | c93cd9d68eb138c9ffe5666cd2d0f4ac84b2d6d9 /lib | |
parent | 638b4684c7e4fddfffe7458e6fe2992199df9da1 (diff) | |
download | gsoc2013-epiphany-0b9943bc68e6d64c52f365a8d8253c6e074576c6.tar gsoc2013-epiphany-0b9943bc68e6d64c52f365a8d8253c6e074576c6.tar.gz gsoc2013-epiphany-0b9943bc68e6d64c52f365a8d8253c6e074576c6.tar.bz2 gsoc2013-epiphany-0b9943bc68e6d64c52f365a8d8253c6e074576c6.tar.lz gsoc2013-epiphany-0b9943bc68e6d64c52f365a8d8253c6e074576c6.tar.xz gsoc2013-epiphany-0b9943bc68e6d64c52f365a8d8253c6e074576c6.tar.zst gsoc2013-epiphany-0b9943bc68e6d64c52f365a8d8253c6e074576c6.zip |
e-location-entry: dim URL in completion rows
https://bugzilla.gnome.org/show_bug.cgi?id=672927
Diffstat (limited to 'lib')
-rw-r--r-- | lib/widgets/ephy-location-entry.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |