projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9d8eb5
)
node editor: Avoid inheriting textview styles
author
nana-4
<hnmaigo@gmail.com>
Mon, 2 Sep 2019 16:44:55 +0000
(
01:44
+0900)
committer
nana-4
<hnmaigo@gmail.com>
Mon, 2 Sep 2019 16:44:55 +0000
(
01:44
+0900)
...to its descendant selectors
Without ">", "text" style is propagated to entry in the emoji chooser.
https://gitlab.gnome.org/GNOME/gtk/issues/2061
demos/node-editor/node-editor-application.c
patch
|
blob
|
history
diff --git
a/demos/node-editor/node-editor-application.c
b/demos/node-editor/node-editor-application.c
index d4d65f964fb86f0b489903e76c4fb2f9bc9938b7..fd80787ce2d980c0dc467a32d2ea14d048179cc8 100644
(file)
--- a/
demos/node-editor/node-editor-application.c
+++ b/
demos/node-editor/node-editor-application.c
@@
-26,9
+26,9
@@
static const char *css =
"textview.editor {"
" color: rgb(192, 197, 206);"
-" caret-color:
white
;"
+" caret-color:
currentColor
;"
"}"
-"textview.editor text {"
+"textview.editor
>
text {"
" background-color: rgb(43, 48, 59);"
"}"
;