From aaa9daeda86d0f88eaddd79b0e39a00df81ea92b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Loi=CC=88c=20Correnson?= <loic.correnson@cea.fr>
Date: Tue, 19 May 2020 11:52:04 +0200
Subject: [PATCH] [ivette] new theme selection icon

---
 ivette/src/dome/src/renderer/controls/icons.json | 6 ++++++
 ivette/src/renderer/ASTview.tsx                  | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/ivette/src/dome/src/renderer/controls/icons.json b/ivette/src/dome/src/renderer/controls/icons.json
index 090f53e47af..681bb6d5286 100644
--- a/ivette/src/dome/src/renderer/controls/icons.json
+++ b/ivette/src/dome/src/renderer/controls/icons.json
@@ -17,6 +17,12 @@
     "viewBox": "0 0 15 16",
     "path": "M9.143 7.143v0.571q0 0.116-0.085 0.201t-0.201 0.085h-5.143q-0.116 0-0.201-0.085t-0.085-0.201v-0.571q0-0.116 0.085-0.201t0.201-0.085h5.143q0.116 0 0.201 0.085t0.085 0.201zM10.286 7.429q0-1.652-1.174-2.826t-2.826-1.174-2.826 1.174-1.174 2.826 1.174 2.826 2.826 1.174 2.826-1.174 1.174-2.826zM14.857 14.857q0 0.473-0.335 0.808t-0.808 0.335q-0.482 0-0.804-0.339l-3.063-3.054q-1.598 1.107-3.563 1.107-1.277 0-2.442-0.496t-2.009-1.339-1.339-2.009-0.496-2.442 0.496-2.442 1.339-2.009 2.009-1.339 2.442-0.496 2.442 0.496 2.009 1.339 1.339 2.009 0.496 2.442q0 1.964-1.107 3.563l3.063 3.063q0.33 0.33 0.33 0.804z"
   },
+  "PAINTBRUSH": {
+    "section": "Tools",
+    "title": "Paint Brush",
+    "viewBox": "0 0 16 16",
+    "path": "M14.42 0q0.625 0 1.094 0.415t0.469 1.040q0 0.563-0.402 1.348-2.964 5.616-4.152 6.714-0.866 0.813-1.946 0.813-1.125 0-1.933-0.826t-0.808-1.96q0-1.143 0.821-1.893l5.696-5.17q0.527-0.482 1.161-0.482zM6.304 9.232q0.348 0.679 0.951 1.161t1.344 0.679l0.009 0.634q0.036 1.902-1.156 3.098t-3.112 1.196q-1.098 0-1.946-0.415t-1.362-1.138-0.772-1.634-0.259-1.964q0.063 0.045 0.366 0.268t0.554 0.397 0.527 0.326 0.411 0.152q0.366 0 0.491-0.33 0.223-0.589 0.513-1.004t0.621-0.679 0.786-0.424 0.92-0.228 1.116-0.094z"
+  },
   "WRAPTEXT": {
     "section": "Tools",
     "title": "Wrap Text",
diff --git a/ivette/src/renderer/ASTview.tsx b/ivette/src/renderer/ASTview.tsx
index 0c1546dccef..153a9e0f233 100644
--- a/ivette/src/renderer/ASTview.tsx
+++ b/ivette/src/renderer/ASTview.tsx
@@ -124,7 +124,7 @@ const ASTview = () => {
           title="Zoom Out (decrease font size)"
         />
         <IconButton
-          icon="CODE"
+          icon="PAINTBRUSH"
           onClick={themePopup}
           title="Choose Theme"
         />
-- 
GitLab