Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 565524
Collapse All | Expand All

(-)a/src/conky.c (+8 lines)
Lines 376-381 Link Here
376
/* border */
376
/* border */
377
static int draw_borders;
377
static int draw_borders;
378
static int draw_graph_borders;
378
static int draw_graph_borders;
379
static int draw_bar_borders;
379
static int stippled_borders;
380
static int stippled_borders;
380
381
381
int get_stippled_borders(void)
382
int get_stippled_borders(void)
Lines 2946-2956 Link Here
2946
						w = 0;
2947
						w = 0;
2947
					}
2948
					}
2948
2949
2950
					if (draw_bar_borders) {
2949
					XSetLineAttributes(display, window.gc, 1, LineSolid,
2951
					XSetLineAttributes(display, window.gc, 1, LineSolid,
2950
						CapButt, JoinMiter);
2952
						CapButt, JoinMiter);
2951
2953
2952
					XDrawRectangle(display, window.drawable, window.gc, cur_x,
2954
					XDrawRectangle(display, window.drawable, window.gc, cur_x,
2953
						by, w, h);
2955
						by, w, h);
2956
					}
2957
2954
					XFillRectangle(display, window.drawable, window.gc, cur_x,
2958
					XFillRectangle(display, window.drawable, window.gc, cur_x,
2955
						by, w * bar_usage / 255, h);
2959
						by, w * bar_usage / 255, h);
2956
					if (h > cur_y_add
2960
					if (h > cur_y_add
Lines 4257-4262 Link Here
4257
	draw_shades = 1;
4261
	draw_shades = 1;
4258
	draw_borders = 0;
4262
	draw_borders = 0;
4259
	draw_graph_borders = 1;
4263
	draw_graph_borders = 1;
4264
	draw_bar_borders = 1;
4260
	draw_outline = 0;
4265
	draw_outline = 0;
4261
	set_first_font("6x10");
4266
	set_first_font("6x10");
4262
	gap_x = 5;
4267
	gap_x = 5;
Lines 4774-4779 Link Here
4774
		CONF("draw_graph_borders") {
4779
		CONF("draw_graph_borders") {
4775
			draw_graph_borders = string_to_bool(value);
4780
			draw_graph_borders = string_to_bool(value);
4776
		}
4781
		}
4782
		CONF("draw_bar_borders") {
4783
			draw_bar_borders = string_to_bool(value);
4784
		}
4777
		CONF("draw_shades") {
4785
		CONF("draw_shades") {
4778
			draw_shades = string_to_bool(value);
4786
			draw_shades = string_to_bool(value);
4779
		}
4787
		}
(-)a/src/defconfig.h (+1 lines)
Lines 36-41 Link Here
36
"default_shade_color white\n", \
36
"default_shade_color white\n", \
37
"draw_borders no\n", \
37
"draw_borders no\n", \
38
"draw_graph_borders yes\n", \
38
"draw_graph_borders yes\n", \
39
"draw_bar_borders yes\n", \
39
"draw_outline no\n", \
40
"draw_outline no\n", \
40
"draw_shades no\n", \
41
"draw_shades no\n", \
41
"use_xft yes\n", \
42
"use_xft yes\n", \

Return to bug 565524