wok view lxpanel/stuff/cpu-color.patch @ rev 11937

pcmanfm: removed unnecessary copy operation
author Samuel Trassare <samuel_trassare@yahoo.com>
date Wed Feb 29 21:23:45 2012 -0800 (2012-02-29)
parents
children
line source
1 --- src/plugins/cpu/cpu.c
2 +++ src/plugins/cpu/cpu.c.taz
3 @@ -229,7 +229,7 @@
4 /* Clone a graphics context and set "green" as its foreground color.
5 * We will use this to draw the graph. */
6 c->graphics_context = gdk_gc_new(p->panel->topgwin->window);
7 - gdk_color_parse("green", &c->foreground_color);
8 + gdk_color_parse("#cfcfcf", &c->foreground_color);
9 gdk_colormap_alloc_color(gdk_drawable_get_colormap(p->panel->topgwin->window), &c->foreground_color, FALSE, TRUE);
10 gdk_gc_set_foreground(c->graphics_context, &c->foreground_color);