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.
This commit is contained in:
Ell 2018-10-04 21:33:26 -04:00
parent eea3d3bbaa
commit 32c2aa11df
3 changed files with 6 additions and 0 deletions

View file

@ -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"
###########################################################

View file

@ -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"
###########################################################

View file

@ -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"
###########################################################