small LFUN status cleanups.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31519 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2009-10-04 21:03:37 +00:00
parent 1cd45c2ae1
commit 1538827daf
2 changed files with 4 additions and 2 deletions

View File

@ -257,11 +257,9 @@ FuncStatus LyXFunc::getStatus(FuncRequest const & cmd) const
break; break;
} }
case LFUN_DROP_LAYOUTS_CHOICE:
case LFUN_CURSOR_FOLLOWS_SCROLLBAR_TOGGLE: case LFUN_CURSOR_FOLLOWS_SCROLLBAR_TOGGLE:
case LFUN_REPEAT: case LFUN_REPEAT:
case LFUN_PREFERENCES_SAVE: case LFUN_PREFERENCES_SAVE:
case LFUN_INSET_EDIT:
case LFUN_BUFFER_SAVE_AS_DEFAULT: case LFUN_BUFFER_SAVE_AS_DEFAULT:
// these are handled in our dispatch() // these are handled in our dispatch()
break; break;

View File

@ -1277,6 +1277,10 @@ bool GuiView::getStatus(FuncRequest const & cmd, FuncStatus & flag)
flag.setOnOff(t->isVisible()); flag.setOnOff(t->isVisible());
break; break;
case LFUN_DROP_LAYOUTS_CHOICE:
enable = buf;
break;
case LFUN_UI_TOGGLE: case LFUN_UI_TOGGLE:
flag.setOnOff(isFullScreen()); flag.setOnOff(isFullScreen());
break; break;