From: nds Date: Thu, 14 Apr 2016 07:59:56 +0000 (+0300) Subject: Issue 1303 Re-ordering of Sketcher menus: rearrange Sketch actions in XML X-Git-Tag: V_2.3.0~228 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e08a44fefa6359cc29aa9dd95da2ca4bff3e8d98;p=modules%2Fshaper.git Issue 1303 Re-ordering of Sketcher menus: rearrange Sketch actions in XML --- 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; }