Use Ctrl-t for showcert instead of Ctrl-x
This commit is contained in:
parent
5936806949
commit
e23d5c1c45
3 changed files with 3 additions and 3 deletions
|
@ -152,7 +152,7 @@ static Key keys[] = {
|
|||
{ MODKEY|GDK_SHIFT_MASK, GDK_KEY_n, find, { .i = -1 } },
|
||||
|
||||
{ MODKEY|GDK_SHIFT_MASK, GDK_KEY_p, print, { 0 } },
|
||||
{ MODKEY, GDK_KEY_x, showcert, { 0 } },
|
||||
{ MODKEY, GDK_KEY_t, showcert, { 0 } },
|
||||
|
||||
{ MODKEY|GDK_SHIFT_MASK, GDK_KEY_a, togglecookiepolicy, { 0 } },
|
||||
{ 0, GDK_KEY_F11, togglefullscreen, { 0 } },
|
||||
|
|
2
surf.1
2
surf.1
|
@ -200,7 +200,7 @@ Reloads the website without using the cache.
|
|||
.B Ctrl\-y
|
||||
Copies current URI to primary selection.
|
||||
.TP
|
||||
.B Ctrl\-Shift\-x
|
||||
.B Ctrl\-t
|
||||
Display the current TLS certificate in a popup window.
|
||||
.TP
|
||||
.B Ctrl\-Shift\-a
|
||||
|
|
2
surf.c
2
surf.c
|
@ -1332,7 +1332,7 @@ loadfailedtls(WebKitWebView *v, gchar *uri, GTlsCertificate *cert,
|
|||
g_object_get(cert, "certificate-pem", &pem, NULL);
|
||||
html = g_strdup_printf("<p>Could not validate TLS for “%s”<br>%s</p>"
|
||||
"<p>You can inspect the following certificate "
|
||||
"with Ctrl+Shift+x (default keybinding).</p>"
|
||||
"with Ctrl-t (default keybinding).</p>"
|
||||
"<p><pre>%s</pre></p>", uri, errmsg->str, pem);
|
||||
g_free(pem);
|
||||
g_string_free(errmsg, TRUE);
|
||||
|
|
Loading…
Reference in a new issue