Get rid of "Display Tooltips" option in ui, it's not implemented

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9243 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Spray 2004-11-15 00:57:17 +00:00
parent 7e20629741
commit 6b553bee4c

View File

@ -369,10 +369,23 @@ void lyx_gui::exit()
}
FuncStatus lyx_gui::getStatus(FuncRequest const & /*ev*/)
FuncStatus lyx_gui::getStatus(FuncRequest const & ev)
{
// Nothing interesting to do here
return FuncStatus();
FuncStatus flag;
switch (ev.action) {
// Add this back if the gtk doc prefs dialog includes preamble - jcs
/*case LFUN_DIALOG_SHOW:
if (ev.argument == "preamble")
flag.unknown(true);
break;*/
case LFUN_TOOLTIPS_TOGGLE:
flag.unknown(true);
break;
default:
break;
}
return flag;
}