Salome HOME
[bos #40644][CEA](2024-T1) Feature search.
authordish <dmitrii.shvydkoi@opencascade.com>
Sat, 13 Apr 2024 14:28:24 +0000 (14:28 +0000)
committerdish <dmitrii.shvydkoi@opencascade.com>
Sat, 13 Apr 2024 14:28:24 +0000 (14:28 +0000)
Add references to action icons into action_assets.json.
The icons are displayed both in shortcut manager and in find action dialog.

src/SUIT/resources/action_assets.json

index 4e8a50a8945d276b9a635b11958326723ad94a88..70952aaecb9e263aa39d6dd4ffbf94dba774d00d 100644 (file)
@@ -17,7 +17,7 @@
         }
     },
     "/#Viewers/View/Reset": {
-        "iconPath": "",
+        "iconPath": "${GUI_ROOT_DIR}/share/salome/resources/gui/reset.png",
         "langDependentAssets": {
             "en": {
                 "name": "Reset",
         }
     },
     "/PRP_DESK_HELP_ABOUT": {
-        "iconPath": "",
+        "iconPath": "${GUI_ROOT_DIR}/share/salome/resources/gui/about.png",
         "langDependentAssets": {
             "en": {
                 "name": "About...",
         }
     },
     "/PRP_DESK_WINDOW_HSPLIT": {
-        "iconPath": "",
+        "iconPath": "${GUI_ROOT_DIR}/share/salome/resources/gui/htile.png",
         "langDependentAssets": {
             "en": {
                 "name": "Split Horizontally",
         }
     },
     "/PRP_DESK_WINDOW_VSPLIT": {
-        "iconPath": "",
+        "iconPath": "${GUI_ROOT_DIR}/share/salome/resources/gui/vtile.png",
         "langDependentAssets": {
             "en": {
                 "name": "Split Vertically",
         }
     },
     "/TOT_DESK_EDIT_PASTE": {
-        "iconPath": "",
+        "iconPath": "${GUI_ROOT_DIR}/share/salome/resources/gui/paste.png",
         "langDependentAssets": {
             "en": {
                 "name": "Paste",
         }
     },
     "/TOT_DESK_FILE_CLOSE": {
-        "iconPath": "",
+        "iconPath": "${GUI_ROOT_DIR}/share/salome/resources/gui/close.png",
         "langDependentAssets": {
             "en": {
                 "name": "Close",
         }
     },
     "/TOT_DESK_FILE_NEW": {
-        "iconPath": "",
+        "iconPath": "${GUI_ROOT_DIR}/share/salome/resources/gui/new.png",
         "langDependentAssets": {
             "en": {
                 "name": "New",
         }
     },
     "/TOT_DESK_FILE_OPEN": {
-        "iconPath": "",
+        "iconPath": "${GUI_ROOT_DIR}/share/salome/resources/gui/open.png",
         "langDependentAssets": {
             "en": {
                 "name": "Open...",
         }
     },
     "/TOT_DESK_FILE_SAVE": {
-        "iconPath": "",
+        "iconPath": "${GUI_ROOT_DIR}/share/salome/resources/gui/save.png",
         "langDependentAssets": {
             "en": {
                 "name": "Save",