]>
Commit | Line | Data |
---|---|---|
478508cd ER |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.2.142 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=ISO-8859-1 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.2.142 | |
11 | Problem: Motif and Athena balloons don't use tooltip colors. | |
12 | Solution: Set the colors. (Matt Wozniski) | |
13 | Files: src/gui_beval.c | |
14 | ||
15 | ||
16 | *** ../vim-7.2.141/src/gui_beval.c Thu May 10 21:29:20 2007 | |
17 | --- src/gui_beval.c Wed Mar 11 15:20:36 2009 | |
18 | *************** | |
19 | *** 1291,1296 **** | |
20 | --- 1291,1313 ---- | |
21 | XtNy, ty, | |
22 | NULL); | |
23 | #endif | |
24 | + /* Set tooltip colors */ | |
25 | + { | |
26 | + Arg args[2]; | |
27 | + | |
28 | + #ifdef FEAT_GUI_MOTIF | |
29 | + args[0].name = XmNbackground; | |
30 | + args[0].value = gui.tooltip_bg_pixel; | |
31 | + args[1].name = XmNforeground; | |
32 | + args[1].value = gui.tooltip_fg_pixel; | |
33 | + #else /* Athena */ | |
34 | + args[0].name = XtNbackground; | |
35 | + args[0].value = gui.tooltip_bg_pixel; | |
36 | + args[1].name = XtNforeground; | |
37 | + args[1].value = gui.tooltip_fg_pixel; | |
38 | + #endif | |
39 | + XtSetValues(beval->balloonLabel, &args[0], XtNumber(args)); | |
40 | + } | |
41 | ||
42 | XtPopup(beval->balloonShell, XtGrabNone); | |
43 | ||
44 | *** ../vim-7.2.141/src/version.c Wed Mar 11 17:57:05 2009 | |
45 | --- src/version.c Wed Mar 18 12:20:01 2009 | |
46 | *************** | |
47 | *** 678,679 **** | |
48 | --- 678,681 ---- | |
49 | { /* Add new patch number below this line */ | |
50 | + /**/ | |
51 | + 142, | |
52 | /**/ | |
53 | ||
54 | -- | |
55 | hundred-and-one symptoms of being an internet addict: | |
56 | 233. You start dreaming about web pages...in html. | |
57 | ||
58 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
59 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
60 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
61 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |