wok-stable view lxpanel/stuff/cpu-size-color.patch @ rev 12061
pcmanfm2: desktop file and icon. Was conflicting with original pcmanfm desktop files
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Thu Mar 08 06:50:49 2012 -0800 (2012-03-08) |
parents | |
children |
line source
1 --- src/plugins/cpu/cpu.c
2 +++ src/plugins/cpu/cpu.c.taz
3 @@ -222,14 +222,14 @@
5 /* Allocate drawing area as a child of top level widget. Enable button press events. */
6 c->da = gtk_drawing_area_new();
7 - gtk_widget_set_size_request(c->da, 40, PANEL_HEIGHT_DEFAULT);
8 + gtk_widget_set_size_request(c->da, 26, PANEL_HEIGHT_DEFAULT);
9 gtk_widget_add_events(c->da, GDK_BUTTON_PRESS_MASK);
10 gtk_container_add(GTK_CONTAINER(p->pwid), c->da);
12 /* Clone a graphics context and set "green" as its foreground color.
13 * We will use this to draw the graph. */
14 c->graphics_context = gdk_gc_new(p->panel->topgwin->window);
15 - gdk_color_parse("green", &c->foreground_color);
16 + gdk_color_parse("#cfcfcf", &c->foreground_color);
17 gdk_colormap_alloc_color(gdk_drawable_get_colormap(p->panel->topgwin->window), &c->foreground_color, FALSE, TRUE);
18 gdk_gc_set_foreground(c->graphics_context, &c->foreground_color);