projects
/
roobuilder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9751281
)
fix remove css for error tree
author
Alan Knowles
<alan@roojs.com>
Tue, 30 Jan 2024 09:51:47 +0000
(17:51 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 30 Jan 2024 09:51:47 +0000
(17:51 +0800)
src/Builder4/WindowLeftProps.bjs
patch
|
blob
|
history
src/Builder4/WindowLeftProps.vala
patch
|
blob
|
history
src/Builder4/WindowLeftTree.bjs
patch
|
blob
|
history
src/Builder4/WindowLeftTree.vala
patch
|
blob
|
history
diff --git
a/src/Builder4/WindowLeftProps.bjs
b/src/Builder4/WindowLeftProps.bjs
index
8d82cc8
..
90cd323
100644
(file)
--- a/
src/Builder4/WindowLeftProps.bjs
+++ b/
src/Builder4/WindowLeftProps.bjs
@@
-1475,14
+1475,14
@@
"\t\t\t ",
"\t }",
"\t ",
"\t\t\t ",
"\t }",
"\t ",
- "\t \tif (
!
child.has_css_class(\"node-err\")) {",
+ "\t \tif (child.has_css_class(\"node-err\")) {",
"\t\t\tchild.remove_css_class(\"node-err\");",
"\t\t}",
"\t\t\tchild.remove_css_class(\"node-err\");",
"\t\t}",
- "\t\tif (
!
child.has_css_class(\"node-warn\")) {",
+ "\t\tif (child.has_css_class(\"node-warn\")) {",
"\t\t\tchild.remove_css_class(\"node-warn\");",
"\t\t}",
"\t\t",
"\t\t\tchild.remove_css_class(\"node-warn\");",
"\t\t}",
"\t\t",
- "\t\tif (
!
child.has_css_class(\"node-depr\")) {",
+ "\t\tif (child.has_css_class(\"node-depr\")) {",
"\t\t\tchild.remove_css_class(\"node-depr\");",
"\t\t}",
"\t\t",
"\t\t\tchild.remove_css_class(\"node-depr\");",
"\t\t}",
"\t\t",
diff --git
a/src/Builder4/WindowLeftProps.vala
b/src/Builder4/WindowLeftProps.vala
index
b53de34
..
8e1dc03
100644
(file)
--- a/
src/Builder4/WindowLeftProps.vala
+++ b/
src/Builder4/WindowLeftProps.vala
@@
-261,14
+261,14
@@
public class Xcls_LeftProps : Object
}
}
- if (
!
child.has_css_class("node-err")) {
+ if (child.has_css_class("node-err")) {
child.remove_css_class("node-err");
}
child.remove_css_class("node-err");
}
- if (
!
child.has_css_class("node-warn")) {
+ if (child.has_css_class("node-warn")) {
child.remove_css_class("node-warn");
}
child.remove_css_class("node-warn");
}
- if (
!
child.has_css_class("node-depr")) {
+ if (child.has_css_class("node-depr")) {
child.remove_css_class("node-depr");
}
child.remove_css_class("node-depr");
}
diff --git
a/src/Builder4/WindowLeftTree.bjs
b/src/Builder4/WindowLeftTree.bjs
index
fad8976
..
27a5f8e
100644
(file)
--- a/
src/Builder4/WindowLeftTree.bjs
+++ b/
src/Builder4/WindowLeftTree.bjs
@@
-1701,14
+1701,14
@@
"\t\t\t ",
"\t }",
"\t ",
"\t\t\t ",
"\t }",
"\t ",
- "\t \tif (
!
child.has_css_class(\"node-err\")) {",
+ "\t \tif (child.has_css_class(\"node-err\")) {",
"\t\t\tchild.remove_css_class(\"node-err\");",
"\t\t}",
"\t\t\tchild.remove_css_class(\"node-err\");",
"\t\t}",
- "\t\tif (
!
child.has_css_class(\"node-warn\")) {",
+ "\t\tif (child.has_css_class(\"node-warn\")) {",
"\t\t\tchild.remove_css_class(\"node-warn\");",
"\t\t}",
"\t\t",
"\t\t\tchild.remove_css_class(\"node-warn\");",
"\t\t}",
"\t\t",
- "\t\tif (
!
child.has_css_class(\"node-depr\")) {",
+ "\t\tif (child.has_css_class(\"node-depr\")) {",
"\t\t\tchild.remove_css_class(\"node-depr\");",
"\t\t}",
"\t\t",
"\t\t\tchild.remove_css_class(\"node-depr\");",
"\t\t}",
"\t\t",
diff --git
a/src/Builder4/WindowLeftTree.vala
b/src/Builder4/WindowLeftTree.vala
index
6c61cf5
..
dfc25ba
100644
(file)
--- a/
src/Builder4/WindowLeftTree.vala
+++ b/
src/Builder4/WindowLeftTree.vala
@@
-128,14
+128,14
@@
public class Xcls_WindowLeftTree : Object
}
}
- if (
!
child.has_css_class("node-err")) {
+ if (child.has_css_class("node-err")) {
child.remove_css_class("node-err");
}
child.remove_css_class("node-err");
}
- if (
!
child.has_css_class("node-warn")) {
+ if (child.has_css_class("node-warn")) {
child.remove_css_class("node-warn");
}
child.remove_css_class("node-warn");
}
- if (
!
child.has_css_class("node-depr")) {
+ if (child.has_css_class("node-depr")) {
child.remove_css_class("node-depr");
}
child.remove_css_class("node-depr");
}