From e08a44fefa6359cc29aa9dd95da2ca4bff3e8d98 Mon Sep 17 00:00:00 2001 From: nds Date: Thu, 14 Apr 2016 10:59:56 +0300 Subject: [PATCH] Issue 1303 Re-ordering of Sketcher menus: rearrange Sketch actions in XML --- src/SketchPlugin/plugin-Sketch.xml | 450 +++++++++++++++-------------- src/XGUI/XGUI_Workshop.cpp | 2 + 2 files changed, 229 insertions(+), 223 deletions(-) diff --git a/src/SketchPlugin/plugin-Sketch.xml b/src/SketchPlugin/plugin-Sketch.xml index 380a120f3..725bc554b 100644 --- a/src/SketchPlugin/plugin-Sketch.xml +++ b/src/SketchPlugin/plugin-Sketch.xml @@ -2,7 +2,7 @@ - + - - - @@ -105,9 +86,7 @@ - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - @@ -215,7 +329,53 @@ icons_list=":icons/angle_direct.png :icons/angle_complementary.png :icons/angle_backward.png" default="0" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -258,6 +418,22 @@ + + + + + + + + + + + + + + @@ -272,36 +448,22 @@ - - - - - - - - - - - - - + + + + + + - - - - - - - + + + + - + - - + + @@ -320,22 +482,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/XGUI/XGUI_Workshop.cpp b/src/XGUI/XGUI_Workshop.cpp index b4a48cd09..bf87ecc31 100755 --- a/src/XGUI/XGUI_Workshop.cpp +++ b/src/XGUI/XGUI_Workshop.cpp @@ -1002,7 +1002,9 @@ bool XGUI_Workshop::createModule() // myModule, SLOT(onBeforeObjectErase(ObjectPtr, AISObjectPtr))); myModule->createFeatures(); +#ifdef HAVE_SALOME salomeConnector()->createFeatureActions(); +#endif //myActionsMgr->update(); return true; } -- 2.39.2