mirror of
https://github.com/vim/vim.git
synced 2025-10-06 05:44:14 -04:00
updated for version 7.0213
This commit is contained in:
@@ -3198,11 +3198,22 @@ gui_mch_show_tabline(int showit)
|
||||
|
||||
if (!showit != !gtk_notebook_get_show_tabs(GTK_NOTEBOOK(gui.tabline)))
|
||||
{
|
||||
/* Note: this may cause a resize event */
|
||||
gtk_notebook_set_show_tabs(GTK_NOTEBOOK(gui.tabline), showit);
|
||||
update_window_manager_hints();
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Return TRUE when tabline is displayed.
|
||||
*/
|
||||
int
|
||||
gui_mch_showing_tabline(void)
|
||||
{
|
||||
return gui.tabline != NULL
|
||||
&& gtk_notebook_get_show_tabs(GTK_NOTEBOOK(gui.tabline));
|
||||
}
|
||||
|
||||
/*
|
||||
* Update the labels of the tabline.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user