about summary refs log tree commit diff stats
path: root/xxxterm.c
diff options
context:
space:
mode:
Diffstat (limited to 'xxxterm.c')
-rw-r--r--xxxterm.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/xxxterm.c b/xxxterm.c
index e789853..552cffb 100644
--- a/xxxterm.c
+++ b/xxxterm.c
@@ -2228,6 +2228,7 @@ save_certs(struct tab *t, gnutls_x509_crt_t *certs,
 	char			cert_buf[64 * 1024], file[PATH_MAX];
 	int			i;
 	FILE			*f;
+	GdkColor		color;
 
 	if (t == NULL || certs == NULL || cert_count <= 0 || domain == NULL)
 		return;
@@ -2243,14 +2244,18 @@ save_certs(struct tab *t, gnutls_x509_crt_t *certs,
 		if (gnutls_x509_crt_export(certs[i], GNUTLS_X509_FMT_PEM,
 		    cert_buf, &cert_buf_sz)) {
 			warnx("gnutls_x509_crt_export");
-			break;
+			goto done;
 		}
 		if (fwrite(cert_buf, cert_buf_sz, 1, f) != 1) {
 			warn("fwrite certs");
-			break;
+			goto done;
 		}
 	}
 
+	/* not the best spot but oh well */
+	gdk_color_parse("lightblue", &color);
+	gtk_widget_modify_base(t->uri_entry, GTK_STATE_NORMAL, &color);
+done:
 	fclose(f);
 }
 
rbe <garbeam@wmii.de> 2006-07-13 09:32:22 +0200 committer Anselm R. Garbe <garbeam@wmii.de> 2006-07-13 09:32:22 +0200 added logo+description' href='/acidbong/suckless/dwm/commit/dwm.html?h=1.9&id=650a1fb4e1a798aca48a53739f5bb2649191bc1c'>650a1fb ^
605630c ^
b2e98bf ^





eb184e0 ^



b2e98bf ^
605630c ^
650a1fb ^
eb184e0 ^
650a1fb ^

3791ec0 ^
eb184e0 ^



3791ec0 ^





eb184e0 ^



3791ec0 ^

eb184e0 ^



3791ec0 ^

eb184e0 ^











3791ec0 ^


eb184e0 ^

3791ec0 ^

eb184e0 ^


6458d72 ^

605630c ^
6649dcc ^
3791ec0 ^
650a1fb ^
605630c ^
1e7e57d ^
6649dcc ^



1e7e57d ^

3657eae ^
650a1fb ^
6649dcc ^
650a1fb ^

6649dcc ^
650a1fb ^
3657eae ^
7faa8a9 ^
01b151f ^
7faa8a9 ^
3657eae ^
6458d72 ^

f60c597 ^
6458d72 ^
d34b4c7 ^
650a1fb ^

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118