[StThemeNode] allow "background-gradient-direction: none"
this lets a more-specific CSS rule turn off the gradient inherited from a less-specific rule https://bugzilla.gnome.org/show_bug.cgi?id=610856
This commit is contained in:
parent
4d43424efd
commit
ef4c9b6f1f
@ -1394,6 +1394,10 @@ ensure_background (StThemeNode *node)
|
||||
{
|
||||
node->background_gradient_type = ST_GRADIENT_RADIAL;
|
||||
}
|
||||
else if (strcmp (term->content.str->stryng->str, "none") == 0)
|
||||
{
|
||||
node->background_gradient_type = ST_GRADIENT_NONE;
|
||||
}
|
||||
else
|
||||
{
|
||||
g_warning ("Unrecognized background-gradient-direction \"%s\"",
|
||||
|
Loading…
x
Reference in New Issue
Block a user