forked from aniani/vim
updated for version 7.0d02
This commit is contained in:
@@ -370,7 +370,7 @@ label_expose(_w, _event, _region)
|
||||
gui_x11_create_widgets()
|
||||
{
|
||||
#ifdef FEAT_GUI_TABLINE
|
||||
Widget button;
|
||||
Widget button, scroller;
|
||||
Arg args[10];
|
||||
int n;
|
||||
XmString xms;
|
||||
@@ -491,6 +491,20 @@ gui_x11_create_widgets()
|
||||
XtAddEventHandler(tabLine, ButtonPressMask, False,
|
||||
(XtEventHandler)tabline_menu_cb, NULL);
|
||||
|
||||
/*
|
||||
* Set the size of the minor next/prev scrollers to zero, so
|
||||
* that they are not displayed. Due to a bug in OpenMotif 2.3,
|
||||
* even if these children widget are unmanaged, they are again
|
||||
* managed by the Notebook widget and the notebook widget geometry
|
||||
* is adjusted to account for the minor scroller widgets.
|
||||
*/
|
||||
scroller = XtNameToWidget(tabLine, "MinorTabScrollerNext");
|
||||
XtVaSetValues(scroller, XmNwidth, 0, XmNresizable, False,
|
||||
XmNtraversalOn, False, NULL);
|
||||
scroller = XtNameToWidget(tabLine, "MinorTabScrollerPrevious");
|
||||
XtVaSetValues(scroller, XmNwidth, 0, XmNresizable, False,
|
||||
XmNtraversalOn, False, NULL);
|
||||
|
||||
/* Create the tabline popup menu */
|
||||
tabLine_menu = XmCreatePopupMenu(tabLine, "tabline popup", NULL, 0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user