comparison src/gui_xmebw.c @ 4352:04736b4030ec v7.3.925

updated for version 7.3.925 Problem: Typos in source files. Solution: Fix the typos. (Ken Takata)
author Bram Moolenaar <bram@vim.org>
date Mon, 06 May 2013 04:24:17 +0200
parents 3ae387af405f
children 4aead6a9b7a9
comparison
equal deleted inserted replaced
4351:e5137a5dcf15 4352:04736b4030ec
343 &eb->primitive.foreground, 343 &eb->primitive.foreground,
344 &eb->primitive.bottom_shadow_color, 344 &eb->primitive.bottom_shadow_color,
345 &eb->primitive.top_shadow_color, 345 &eb->primitive.top_shadow_color,
346 &eb->primitive.highlight_color); 346 &eb->primitive.highlight_color);
347 347
348 /* Setup color subsititution table. */ 348 /* Setup color substitution table. */
349 color[0].pixel = eb->core.background_pixel; 349 color[0].pixel = eb->core.background_pixel;
350 color[1].pixel = eb->core.background_pixel; 350 color[1].pixel = eb->core.background_pixel;
351 color[2].pixel = eb->core.background_pixel; 351 color[2].pixel = eb->core.background_pixel;
352 color[3].pixel = eb->primitive.foreground; 352 color[3].pixel = eb->primitive.foreground;
353 color[4].pixel = eb->core.background_pixel; 353 color[4].pixel = eb->core.background_pixel;
917 w = newtb->enhancedbutton.pixmap_width; 917 w = newtb->enhancedbutton.pixmap_width;
918 h = newtb->enhancedbutton.pixmap_height; 918 h = newtb->enhancedbutton.pixmap_height;
919 } 919 }
920 920
921 /* 921 /*
922 * Plase note that we manipulate the width only in case of push buttons not 922 * Please note that we manipulate the width only in case of push buttons
923 * used in the context of a menu pane. 923 * not used in the context of a menu pane.
924 */ 924 */
925 if (Lab_IsMenupane(newtb)) 925 if (Lab_IsMenupane(newtb))
926 { 926 {
927 newtb->label.margin_left = w + 2 * (newtb->primitive.shadow_thickness 927 newtb->label.margin_left = w + 2 * (newtb->primitive.shadow_thickness
928 + newtb->primitive.highlight_thickness) 928 + newtb->primitive.highlight_thickness)
1004 if (eb->enhancedbutton.pixmap_data) 1004 if (eb->enhancedbutton.pixmap_data)
1005 { 1005 {
1006 XmString str; 1006 XmString str;
1007 set_pixmap(eb); 1007 set_pixmap(eb);
1008 1008
1009 /* FIXME: this is not the perfect way to deal with menues, which do not 1009 /* FIXME: this is not the perfect way to deal with menus, which do not
1010 * have any string set right now. */ 1010 * have any string set right now. */
1011 str = XmStringCreateLocalized(""); 1011 str = XmStringCreateLocalized("");
1012 XtVaSetValues((Widget) eb, XmNlabelString, str, NULL); 1012 XtVaSetValues((Widget) eb, XmNlabelString, str, NULL);
1013 XmStringFree(str); 1013 XmStringFree(str);
1014 } 1014 }