Move a helper text into LyXRC::getDescription (RC_PATH_PREFIX)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9566 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2005-02-01 22:48:23 +00:00
parent 807a279bc4
commit ad6ae8996a
4 changed files with 13 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2005-02-01 Angus Leeming <leeming@lyx.org>
* lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
2005-02-01 Angus Leeming <leeming@lyx.org>
* lyx_main.C (init, queryUserLyXDir): use fs::exists() before

View File

@ -1,3 +1,8 @@
2005-02-01 Angus Leeming <leeming@lyx.org>
* FormPreferences.C (feedback): use LyXRC::getDescription for
RC_PATH_PREFIX.
2005-02-01 Angus Leeming <leeming@lyx.org>
* FormFiledialog.C (Reread): use fs::exists() before

View File

@ -2269,9 +2269,7 @@ FormPreferences::Paths::feedback(FL_OBJECT const * const ob) const
if (ob == dialog_->input_serverpipe)
return LyXRC::getDescription(LyXRC::RC_SERVERPIPE);
if (ob == dialog_->input_path_prefix)
return _("Specify those directories which should be"
"prepended to the PATH environment variable. "
"Use the OS native format.");
return LyXRC::getDescription(LyXRC::RC_PATH_PREFIX);
return string();
}

View File

@ -2205,6 +2205,9 @@ string const LyXRC::getDescription(LyXRCTags tag)
break;
case RC_PATH_PREFIX:
str = _("Specify those directories which should be "
"prepended to the PATH environment variable. "
"Use the OS native format.");
break;
case RC_PERS_DICT: