diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-04-12 21:52:12 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-04-12 21:52:12 +0000 |
commit | 18144c84231aee36ae1d11b74941c9b318f1706a (patch) | |
tree | 6b9cf7e0337cd5966089e795c9278a1a86f9d5c1 /src/gui_motif.c | |
parent | 4c3f536f472c7443ed4f672ae6d35a28805d7641 (diff) | |
download | vim-git-18144c84231aee36ae1d11b74941c9b318f1706a.tar.gz |
updated for version 7.0d02v7.0d02
Diffstat (limited to 'src/gui_motif.c')
-rw-r--r-- | src/gui_motif.c | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/gui_motif.c b/src/gui_motif.c index 4caecc308..7eb57589c 100644 --- a/src/gui_motif.c +++ b/src/gui_motif.c @@ -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); |