]> granicus.if.org Git - vim/commit
patch 8.1.0577: tabpage right-click menu never shows "Close tab" v8.1.0577
authorBram Moolenaar <Bram@vim.org>
Tue, 11 Dec 2018 19:39:19 +0000 (20:39 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 11 Dec 2018 19:39:19 +0000 (20:39 +0100)
commit295471920def98ce84bc96e5d97c16d250c81621
tree7490f90afb9d639216c80a4942629a19510654ab
parent30700cd5ffa258f1d684ab6b34bd03e970450dba
patch 8.1.0577: tabpage right-click menu never shows "Close tab"

Problem:    Tabpage right-click menu never shows "Close tab".
Solution:   Always create the "Close tab" item but ignore the event if there
            is only one tab.
src/gui.c
src/gui_gtk_x11.c
src/gui_mac.c
src/gui_motif.c
src/version.c