wok diff lxpanel/stuff/cpu-size-color.patch @ rev 17069
Add tcpcrypt (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 22 16:14:59 2014 +0200 (2014-08-22) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/lxpanel/stuff/cpu-size-color.patch Fri Aug 22 16:14:59 2014 +0200 1.3 @@ -0,0 +1,19 @@ 1.4 +--- src/plugins/cpu/cpu.c 1.5 ++++ src/plugins/cpu/cpu.c.taz 1.6 +@@ -222,14 +222,14 @@ 1.7 + 1.8 + /* Allocate drawing area as a child of top level widget. Enable button press events. */ 1.9 + c->da = gtk_drawing_area_new(); 1.10 +- gtk_widget_set_size_request(c->da, 40, PANEL_HEIGHT_DEFAULT); 1.11 ++ gtk_widget_set_size_request(c->da, 26, PANEL_HEIGHT_DEFAULT); 1.12 + gtk_widget_add_events(c->da, GDK_BUTTON_PRESS_MASK); 1.13 + gtk_container_add(GTK_CONTAINER(p->pwid), c->da); 1.14 + 1.15 + /* Clone a graphics context and set "green" as its foreground color. 1.16 + * We will use this to draw the graph. */ 1.17 + c->graphics_context = gdk_gc_new(p->panel->topgwin->window); 1.18 +- gdk_color_parse("green", &c->foreground_color); 1.19 ++ gdk_color_parse("#cfcfcf", &c->foreground_color); 1.20 + gdk_colormap_alloc_color(gdk_drawable_get_colormap(p->panel->topgwin->window), &c->foreground_color, FALSE, TRUE); 1.21 + gdk_gc_set_foreground(c->graphics_context, &c->foreground_color); 1.22 +