[gimp] app: update GimpItemTreeView's eye and link cells on icon theme change
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: update GimpItemTreeView's eye and link cells on icon theme change
- Date: Fri, 11 Dec 2015 21:55:37 +0000 (UTC)
commit 7926188df512d72571ae20e4c506a250e5740c49
Author: Michael Natterer <mitch gimp org>
Date: Fri Dec 11 22:55:01 2015 +0100
app: update GimpItemTreeView's eye and link cells on icon theme change
app/widgets/gimpitemtreeview.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/app/widgets/gimpitemtreeview.c b/app/widgets/gimpitemtreeview.c
index 32d62d3..09294e3 100644
--- a/app/widgets/gimpitemtreeview.c
+++ b/app/widgets/gimpitemtreeview.c
@@ -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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]