Make HighContrast icons work
We need to make the cell renderers follow state for the recoloring of icons on selection to work. https://bugzilla.gnome.org/show_bug.cgi?id=745873
This commit is contained in:
parent
bd9eeda7ac
commit
fabb18fb1d
2 changed files with 2 additions and 0 deletions
|
@ -129,6 +129,7 @@ cc_shell_category_view_constructed (GObject *object)
|
|||
renderer = gtk_cell_renderer_pixbuf_new ();
|
||||
g_object_set (renderer,
|
||||
"stock-size", GTK_ICON_SIZE_DIALOG,
|
||||
"follow-state", TRUE,
|
||||
NULL);
|
||||
gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (iconview),
|
||||
renderer, FALSE);
|
||||
|
|
|
@ -782,6 +782,7 @@ setup_search (CcWindow *shell)
|
|||
"xpad", 15,
|
||||
"ypad", 10,
|
||||
"stock-size", GTK_ICON_SIZE_DIALOG,
|
||||
"follow-state", TRUE,
|
||||
NULL);
|
||||
column = gtk_tree_view_column_new_with_attributes ("Icon", renderer,
|
||||
"gicon", COL_GICON,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue