Commit 32c2aa11 authored by Ell's avatar Ell
Browse files

themes: fix check/radio buttons in tree views

Apply the check/radio-button style to GtkTreeView, so that
GtkCellRendererToggle picks the right check/radio-button graphic.
Otherwise, it falls back to a graphic that depends on the system
theme, and which may not play well with the current theme colors.

Note that this only affects the Dark theme; in the Light and Gray
themes, one of the KDE-hack styles "takes care" of this, but this
commit applies the same change to these themes anyway.
parent eea3d3bb
......@@ -1340,6 +1340,7 @@ style "gimp-dark-radio-button" = "gimp-dark-default-style"
class "GtkRadioButton" style "gimp-dark-radio-button"
class "GtkRadioMenuItem" style "gimp-dark-radio-button"
class "GtkTreeView" style "gimp-dark-radio-button"
###########################################################
......@@ -1381,6 +1382,7 @@ style "gimp-dark-check-button" = "gimp-dark-default-style"
class "GtkCheckButton" style "gimp-dark-check-button"
class "GtkCheckMenuItem" style "gimp-dark-check-button"
class "GtkTreeView" style "gimp-dark-check-button"
###########################################################
......
......@@ -1415,6 +1415,7 @@ style "sogg-radio-button" = "sogg-default-style"
class "GtkRadioButton" style "sogg-radio-button"
class "GtkRadioMenuItem" style "sogg-radio-button"
class "GtkTreeView" style "sogg-radio-button"
###########################################################
......@@ -1456,6 +1457,7 @@ style "sogg-check-button" = "sogg-default-style"
class "GtkCheckButton" style "sogg-check-button"
class "GtkCheckMenuItem" style "sogg-check-button"
class "GtkTreeView" style "sogg-check-button"
###########################################################
......
......@@ -1413,6 +1413,7 @@ style "tlsog-radio-button" = "tlsog-default-style"
class "GtkRadioButton" style "tlsog-radio-button"
class "GtkRadioMenuItem" style "tlsog-radio-button"
class "GtkTreeView" style "tlsog-radio-button"
###########################################################
......@@ -1454,6 +1455,7 @@ style "tlsog-check-button" = "tlsog-default-style"
class "GtkCheckButton" style "tlsog-check-button"
class "GtkCheckMenuItem" style "tlsog-check-button"
class "GtkTreeView" style "tlsog-check-button"
###########################################################
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment