0
0
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:
Bram Moolenaar
2006-03-03 22:58:45 +00:00
parent 65c923adf3
commit 3517bb1ece
2 changed files with 14 additions and 13 deletions

View File

@@ -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.
*/