mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
StThemeNode: support border-image: none
Treat border-image: none as a valid specification that overwrites any previously specified border image. https://bugzilla.gnome.org/show_bug.cgi?id=644788
This commit is contained in:
parent
70ae700461
commit
adbc1d97a0
1 changed files with 9 additions and 0 deletions
|
|
@ -2518,6 +2518,15 @@ st_theme_node_get_border_image (StThemeNode *node)
|
|||
|
||||
char *filename;
|
||||
|
||||
/* Support border-image: none; to suppress a previously specified border image */
|
||||
if (term_is_none (term))
|
||||
{
|
||||
if (term->next == NULL)
|
||||
return NULL;
|
||||
else
|
||||
goto next_property;
|
||||
}
|
||||
|
||||
/* First term must be the URL to the image */
|
||||
if (term->type != TERM_URI)
|
||||
goto next_property;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue