Karsten Hopp fd70d9
To: vim-dev@vim.org
Karsten Hopp fd70d9
Subject: Patch 7.2.142
Karsten Hopp fd70d9
Fcc: outbox
Karsten Hopp fd70d9
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp fd70d9
Mime-Version: 1.0
Karsten Hopp fd70d9
Content-Type: text/plain; charset=ISO-8859-1
Karsten Hopp fd70d9
Content-Transfer-Encoding: 8bit
Karsten Hopp fd70d9
------------
Karsten Hopp fd70d9
Karsten Hopp fd70d9
Patch 7.2.142
Karsten Hopp fd70d9
Problem:    Motif and Athena balloons don't use tooltip colors.
Karsten Hopp fd70d9
Solution:   Set the colors. (Matt Wozniski)
Karsten Hopp fd70d9
Files:	    src/gui_beval.c
Karsten Hopp fd70d9
Karsten Hopp fd70d9
Karsten Hopp fd70d9
*** ../vim-7.2.141/src/gui_beval.c	Thu May 10 21:29:20 2007
Karsten Hopp fd70d9
--- src/gui_beval.c	Wed Mar 11 15:20:36 2009
Karsten Hopp fd70d9
***************
Karsten Hopp fd70d9
*** 1291,1296 ****
Karsten Hopp fd70d9
--- 1291,1313 ----
Karsten Hopp fd70d9
  		XtNy, ty,
Karsten Hopp fd70d9
  		NULL);
Karsten Hopp fd70d9
  #endif
Karsten Hopp fd70d9
+ 	/* Set tooltip colors */
Karsten Hopp fd70d9
+ 	{
Karsten Hopp fd70d9
+ 	    Arg args[2];
Karsten Hopp fd70d9
+ 
Karsten Hopp fd70d9
+ #ifdef FEAT_GUI_MOTIF
Karsten Hopp fd70d9
+ 	    args[0].name = XmNbackground;
Karsten Hopp fd70d9
+ 	    args[0].value = gui.tooltip_bg_pixel;
Karsten Hopp fd70d9
+ 	    args[1].name = XmNforeground;
Karsten Hopp fd70d9
+ 	    args[1].value = gui.tooltip_fg_pixel;
Karsten Hopp fd70d9
+ #else /* Athena */
Karsten Hopp fd70d9
+ 	    args[0].name = XtNbackground;
Karsten Hopp fd70d9
+ 	    args[0].value = gui.tooltip_bg_pixel;
Karsten Hopp fd70d9
+ 	    args[1].name = XtNforeground;
Karsten Hopp fd70d9
+ 	    args[1].value = gui.tooltip_fg_pixel;
Karsten Hopp fd70d9
+ #endif
Karsten Hopp fd70d9
+ 	    XtSetValues(beval->balloonLabel, &args[0], XtNumber(args));
Karsten Hopp fd70d9
+ 	}
Karsten Hopp fd70d9
  
Karsten Hopp fd70d9
  	XtPopup(beval->balloonShell, XtGrabNone);
Karsten Hopp fd70d9
  
Karsten Hopp fd70d9
*** ../vim-7.2.141/src/version.c	Wed Mar 11 17:57:05 2009
Karsten Hopp fd70d9
--- src/version.c	Wed Mar 18 12:20:01 2009
Karsten Hopp fd70d9
***************
Karsten Hopp fd70d9
*** 678,679 ****
Karsten Hopp fd70d9
--- 678,681 ----
Karsten Hopp fd70d9
  {   /* Add new patch number below this line */
Karsten Hopp fd70d9
+ /**/
Karsten Hopp fd70d9
+     142,
Karsten Hopp fd70d9
  /**/
Karsten Hopp fd70d9
Karsten Hopp fd70d9
-- 
Karsten Hopp fd70d9
hundred-and-one symptoms of being an internet addict:
Karsten Hopp fd70d9
233. You start dreaming about web pages...in html.
Karsten Hopp fd70d9
Karsten Hopp fd70d9
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp fd70d9
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp fd70d9
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp fd70d9
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///