wok view lxpanel/stuff/cpu-size-color.patch @ rev 15544
Up: firefox-langpack-pt_PT (17.0.11esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Nov 24 17:36:37 2013 +0100 (2013-11-24) |
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);