diff --git a/lutin_edn.py b/lutin_edn.py index b18af4b..c23dbbd 100644 --- a/lutin_edn.py +++ b/lutin_edn.py @@ -82,7 +82,7 @@ def create(target, module_name): 'sources/appl/Highlight.cpp', 'sources/appl/HighlightManager.cpp' ]) - my_module.add_module_depend(['ewol', 'date']) + my_module.add_module_depend(['ewol']) my_module.copy_path('data/icon.*','') my_module.copy_path('data/languages/gcov/*.xml','languages/gcov/') my_module.copy_path('data/languages/asm/*.xml','languages/asm/') diff --git a/sources/appl/Gui/MainWindows.cpp b/sources/appl/Gui/MainWindows.cpp index 4ddf729..e1f7956 100644 --- a/sources/appl/Gui/MainWindows.cpp +++ b/sources/appl/Gui/MainWindows.cpp @@ -30,7 +30,6 @@ #include #include #include -#include #include #include #include @@ -39,13 +38,7 @@ namespace appl { std::string getVersion() { - #define FIRST_YEAR (2010) - std::string tmpOutput = etk::to_string(date::getYear()-FIRST_YEAR); - tmpOutput += "."; - tmpOutput += etk::to_string(date::getMonth()); - tmpOutput += "."; - tmpOutput += etk::to_string(date::getDay()); - return tmpOutput; + return APPL_VERSION; } } @@ -78,17 +71,6 @@ class ParameterAboutGui : public ewol::widget::Sizer { tmpLabel += " Editeur De N'ours : v:"; tmpLabel += appl::getVersion(); tmpLabel += "
"; - tmpLabel += " Build Time : "; - tmpLabel += date::getYear(); - tmpLabel += "/"; - tmpLabel += date::getMonth(); - tmpLabel += "/"; - tmpLabel += date::getDay(); - tmpLabel += " "; - tmpLabel += date::getHour(); - tmpLabel += "h"; - tmpLabel += date::getMinute(); - tmpLabel += "
"; tmpLabel += " Website : https://github.com/HeeroYui/edn
"; tmpLabel += " License : GPL v3
"; tmpLabel += " Copyright : 2010 Edouard DUPIN
";