diff options
author | Matthias Clasen <mclasen@redhat.com> | 2015-03-08 22:22:27 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-03-08 22:24:10 -0400 |
commit | fabb18fb1d21d409874e36e51fb48c21e866b09c (patch) | |
tree | 9822eb61e0755ecc9da127396716cc5ceb07697c /shell | |
parent | bd9eeda7acca3383708f097fabf67bd07ec69b9f (diff) | |
download | gnome-control-center-fabb18fb1d21d409874e36e51fb48c21e866b09c.tar.gz |
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
Diffstat (limited to 'shell')
-rw-r--r-- | shell/cc-shell-category-view.c | 1 | ||||
-rw-r--r-- | shell/cc-window.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/shell/cc-shell-category-view.c b/shell/cc-shell-category-view.c index d7094abce..41674479f 100644 --- a/shell/cc-shell-category-view.c +++ b/shell/cc-shell-category-view.c @@ -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); diff --git a/shell/cc-window.c b/shell/cc-window.c index 55ab0d939..6d9fd6b3a 100644 --- a/shell/cc-window.c +++ b/shell/cc-window.c @@ -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, |