]> git.lyx.org Git - lyx.git/blobdiff - src/LyXAction.cpp
Fix bug 518 (thanks to Jean Marc and Martin for the help)
[lyx.git] / src / LyXAction.cpp
index 89e6311919cdb34899c8e050193e176ac577f54d..b7d9ef7588da8014932b06350ab766bda4c4bb52 100644 (file)
@@ -130,6 +130,7 @@ void LyXAction::init()
                { LFUN_BUFFER_VIEW, "buffer-view", ReadOnly },
                { LFUN_BUFFER_WRITE, "buffer-write", ReadOnly },
                { LFUN_BUFFER_WRITE_AS, "buffer-write-as", ReadOnly },
+               { LFUN_BUFFER_WRITE_ALL, "buffer-write-all", ReadOnly },
                { LFUN_CANCEL, "cancel", NoBuffer },
                { LFUN_CAPTION_INSERT, "caption-insert", Noop },
                { LFUN_CHAR_BACKWARD, "char-backward", ReadOnly | NoUpdate},
@@ -275,7 +276,7 @@ void LyXAction::init()
                { LFUN_SERVER_GET_LAYOUT, "server-get-layout", ReadOnly },
                { LFUN_SERVER_GET_NAME, "server-get-name", ReadOnly },
                { LFUN_SERVER_GET_XY, "server-get-xy", ReadOnly },
-               { LFUN_SERVER_GOTO_FILE_ROW, "server-goto-file-row", Noop },
+               { LFUN_SERVER_GOTO_FILE_ROW, "server-goto-file-row", ReadOnly },
                { LFUN_SERVER_NOTIFY, "server-notify", ReadOnly },
                { LFUN_SERVER_SET_XY, "server-set-xy", ReadOnly },
                { LFUN_SET_COLOR, "set-color", ReadOnly | NoBuffer },
@@ -289,7 +290,6 @@ void LyXAction::init()
 #endif
                { LFUN_THESAURUS_ENTRY, "thesaurus-entry", ReadOnly },
                { LFUN_TOC_INSERT, "toc-insert", Noop },
-               { LFUN_TOC_VIEW, "toc-view", ReadOnly },
                { LFUN_TOGGLE_CURSOR_FOLLOWS_SCROLLBAR, "toggle-cursor-follows-scrollbar", ReadOnly },
                { LFUN_UNDO, "undo", Noop },
                { LFUN_UP, "up", ReadOnly | NoUpdate},
@@ -327,7 +327,8 @@ void LyXAction::init()
                { LFUN_DIALOG_SHOW, "dialog-show", NoBuffer },
                { LFUN_DIALOG_SHOW_NEW_INSET, "dialog-show-new-inset", Noop },
                { LFUN_DIALOG_UPDATE, "dialog-update", NoBuffer },
-               { LFUN_DIALOG_HIDE, "dialog-hide", Noop },
+               { LFUN_DIALOG_HIDE, "dialog-hide", NoBuffer },
+               { LFUN_DIALOG_TOGGLE, "dialog-toggle", NoBuffer },
                { LFUN_DIALOG_DISCONNECT_INSET, "dialog-disconnect-inset", Noop },
                { LFUN_INSET_APPLY, "inset-apply", Noop },
                { LFUN_INSET_DISSOLVE, "inset-dissolve", Noop },
@@ -354,8 +355,6 @@ void LyXAction::init()
                { LFUN_WORDS_COUNT, "words-count", ReadOnly },
                { LFUN_FINISHED_RIGHT, "", ReadOnly },
                { LFUN_FINISHED_LEFT, "", ReadOnly },
-               { LFUN_FINISHED_UP, "", ReadOnly },
-               { LFUN_FINISHED_DOWN, "", ReadOnly },
                { LFUN_MOUSE_PRESS, "", ReadOnly },
                { LFUN_MOUSE_MOTION, "", ReadOnly | SingleParUpdate },
                { LFUN_MOUSE_RELEASE, "", ReadOnly },
@@ -366,11 +365,12 @@ void LyXAction::init()
                { LFUN_WINDOW_NEW, "window-new", NoBuffer },
                { LFUN_WINDOW_CLOSE, "window-close", NoBuffer },
                { LFUN_UNICODE_INSERT, "unicode-insert", Noop },
-               { LFUN_TOOLBAR_TOGGLE_STATE, "", NoBuffer },
+               { LFUN_TOOLBAR_TOGGLE, "toolbar-toggle", NoBuffer },
                { LFUN_NOMENCL_INSERT, "nomencl-insert", Noop },
                { LFUN_NOMENCL_PRINT, "nomencl-print", Noop },
                { LFUN_CLEARPAGE_INSERT, "clearpage-insert", Noop },
                { LFUN_CLEARDOUBLEPAGE_INSERT, "cleardoublepage-insert", Noop },
+               { LFUN_LISTING_INSERT, "listing-insert", Noop },
 
                { LFUN_NOACTION, "", Noop }
        };