From 28c48d7e24cd63faba483c5210125526eb2d2d48 Mon Sep 17 00:00:00 2001 From: rnv Date: Tue, 13 Sep 2011 08:41:17 +0000 Subject: [PATCH] Implementation of the "20494: EDF 1123 KERNEL/GUI : Improvment of 'About' dialog box" issue. --- configure.ac | 1 + resources/Makefile.am | 2 +- resources/{SalomeApp.xml => SalomeApp.xml.in} | 1 + src/GEOMGUI/GeometryGUI.cxx | 7 +++++++ src/GEOMGUI/Makefile.am | 3 ++- 5 files changed, 12 insertions(+), 2 deletions(-) rename resources/{SalomeApp.xml => SalomeApp.xml.in} (98%) diff --git a/configure.ac b/configure.ac index af9313f9d..15d84b478 100644 --- a/configure.ac +++ b/configure.ac @@ -467,6 +467,7 @@ AC_OUTPUT([ \ src/VTKExport/Makefile \ resources/Makefile \ resources/GEOMCatalog.xml \ + resources/SalomeApp.xml \ idl/Makefile \ Makefile \ ]) diff --git a/resources/Makefile.am b/resources/Makefile.am index 957f96fa5..a5711e810 100644 --- a/resources/Makefile.am +++ b/resources/Makefile.am @@ -28,7 +28,7 @@ dist_salomeres_DATA = \ GEOM_en.xml \ GEOM_fr.xml \ GEOM.config \ -SalomeApp.xml \ +$(top_builddir)/resources/SalomeApp.xml \ Plugin \ GEOMDS_Resources \ ImportExport \ diff --git a/resources/SalomeApp.xml b/resources/SalomeApp.xml.in similarity index 98% rename from resources/SalomeApp.xml rename to resources/SalomeApp.xml.in index 63843ab07..ee739d075 100644 --- a/resources/SalomeApp.xml +++ b/resources/SalomeApp.xml.in @@ -27,6 +27,7 @@ +
diff --git a/src/GEOMGUI/GeometryGUI.cxx b/src/GEOMGUI/GeometryGUI.cxx index 969ce28d3..033704512 100644 --- a/src/GEOMGUI/GeometryGUI.cxx +++ b/src/GEOMGUI/GeometryGUI.cxx @@ -98,12 +98,19 @@ #include #include +#include + + #include "GEOMImpl_Types.hxx" extern "C" { Standard_EXPORT CAM_Module* createModule() { return new GeometryGUI(); } + + Standard_EXPORT char* getModuleVersion() { + return GEOM_VERSION_STR; + } } GeometryGUI::StudyTextureMap GeometryGUI::myTextureMap; diff --git a/src/GEOMGUI/Makefile.am b/src/GEOMGUI/Makefile.am index a35b6f06a..d65f42496 100644 --- a/src/GEOMGUI/Makefile.am +++ b/src/GEOMGUI/Makefile.am @@ -75,7 +75,8 @@ libGEOM_la_CPPFLAGS = \ -I$(srcdir)/../GEOMFiltersSelection \ -I$(srcdir)/../GEOMClient \ -I$(srcdir)/../GEOMImpl \ - -I$(top_builddir)/idl + -I$(top_builddir)/idl \ + -I$(top_builddir) libGEOM_la_LDFLAGS = \ $(PYTHON_LIBS) \