# HG changeset patch # User Christophe Lincoln # Date 1330564416 -3600 # Node ID 8a79e8cd918aed6009921cc33619e58d4cb0d16f # Parent af696f5ac1e7c08fb3aa4bf465568a25af52b579 lxpanel: Patch cpu plugin to get monochrome style diff -r af696f5ac1e7 -r 8a79e8cd918a lxpanel/receipt --- a/lxpanel/receipt Thu Mar 01 02:34:58 2012 +0100 +++ b/lxpanel/receipt Thu Mar 01 02:13:36 2012 +0100 @@ -23,6 +23,7 @@ # Devnote : this patch shouldn't be necessary in next release of lxpanel (current : 0.5.8). patch -p1 -i $stuff/configure_desktop_number.patch patch -p1 -i $stuff/fix_position.patch + patch -p0 -i $stuff/cpu.patch || exit 1 ./configure --with-plugins=all $CONFIGURE_ARGS && make && make install } diff -r af696f5ac1e7 -r 8a79e8cd918a lxpanel/stuff/cpu-color.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lxpanel/stuff/cpu-color.patch Thu Mar 01 02:13:36 2012 +0100 @@ -0,0 +1,11 @@ +--- src/plugins/cpu/cpu.c ++++ src/plugins/cpu/cpu.c.taz +@@ -229,7 +229,7 @@ + /* Clone a graphics context and set "green" as its foreground color. + * We will use this to draw the graph. */ + c->graphics_context = gdk_gc_new(p->panel->topgwin->window); +- gdk_color_parse("green", &c->foreground_color); ++ gdk_color_parse("#cfcfcf", &c->foreground_color); + gdk_colormap_alloc_color(gdk_drawable_get_colormap(p->panel->topgwin->window), &c->foreground_color, FALSE, TRUE); + gdk_gc_set_foreground(c->graphics_context, &c->foreground_color); +