Commit c492c066 authored by Victor Ananjevsky's avatar Victor Ananjevsky

add ctrl+q shortcut to html dialog

parent 036af138
......@@ -316,6 +316,11 @@ key_press_cb (GtkWidget *w, GdkEventKey *key, gpointer d)
open_cb (NULL, NULL, d);
return TRUE;
}
else if ((key->state & GDK_CONTROL_MASK) && (key->keyval == GDK_KEY_Q || key->keyval == GDK_KEY_q))
{
yad_exit (options.data.def_resp);
return TRUE;
}
else if ((key->state & GDK_CONTROL_MASK) && (key->keyval == GDK_KEY_F || key->keyval == GDK_KEY_f))
{
if (search_bar == NULL)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment