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

updated dhcp6, dhcp6-client, and dhcp6-relay (4.2.2 -> 4.4.1)
author Hans-G?nter Theisgen
date Wed Feb 20 13:39:22 2019 +0100 (2019-02-20)
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);