app: update GimpItemTreeView's eye and link cells on icon theme change

This commit is contained in:
Michael Natterer 2015-12-11 22:55:01 +01:00
parent 1125f4df0f
commit 7926188df5
1 changed files with 8 additions and 0 deletions

View File

@ -596,6 +596,14 @@ gimp_item_tree_view_style_set (GtkWidget *widget,
g_list_free (children);
}
/* force the toggle cells to recreate their icon */
g_object_set (view->priv->eye_cell,
"icon-name", GIMP_STOCK_VISIBLE,
NULL);
g_object_set (view->priv->chain_cell,
"icon-name", GIMP_STOCK_LINKED,
NULL);
GTK_WIDGET_CLASS (parent_class)->style_set (widget, prev_style);
}