Don't show preamble item in menus

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13212 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Spray 2006-02-12 15:52:16 +00:00
parent 134abbe788
commit b6ab9d8886

View File

@ -100,13 +100,6 @@ int getDPI()
(WidthOfScreen(scr) * 25.4 / WidthMMOfScreen(scr))) / 2); (WidthOfScreen(scr) * 25.4 / WidthMMOfScreen(scr))) / 2);
} }
extern "C" {
}
/// read in geometry specification
char geometry[40];
} // namespace anon } // namespace anon
@ -175,11 +168,10 @@ FuncStatus lyx_gui::getStatus(FuncRequest const & ev)
{ {
FuncStatus flag; FuncStatus flag;
switch (ev.action) { switch (ev.action) {
// TODO: Add this back if the gtk doc prefs dialog includes preamble - jcs case LFUN_DIALOG_SHOW:
/*case LFUN_DIALOG_SHOW:
if (ev.argument == "preamble") if (ev.argument == "preamble")
flag.unknown(true); flag.unknown(true);
break;*/ break;
case LFUN_TOOLTIPS_TOGGLE: case LFUN_TOOLTIPS_TOGGLE:
flag.unknown(true); flag.unknown(true);
break; break;