We have lyx_version, for PACKAGE_VERSION.

(Introduced in r34186.)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37577 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2011-02-09 17:23:20 +00:00
parent c3aa2e0e17
commit 1b3c9e54c5

View File

@ -27,6 +27,7 @@
#include "LyXVC.h"
#include "Lexer.h"
#include "ParagraphParameters.h"
#include "version.h"
#include "frontends/Application.h"
@ -454,7 +455,7 @@ void InsetInfo::updateInfo()
}
case LYX_INFO:
if (name_ == "version")
setText(from_ascii(PACKAGE_VERSION));
setText(from_ascii(lyx_version));
break;
}
}