[geany/geany] 452cb6: Bind ctrl-shift-v to properties so it doesn't crash VTE

elextr git-noreply at xxxxx
Mon Jul 12 00:33:06 UTC 2021


Branch:      refs/heads/elextr-patch-1
Author:      elextr <elextr at gmail.com>
Committer:   GitHub <noreply at github.com>
Date:        Mon, 12 Jul 2021 00:33:06 UTC
Commit:      452cb6f37d14cbbd92f0860000ce393c3c14964c
             https://github.com/geany/geany/commit/452cb6f37d14cbbd92f0860000ce393c3c14964c

Log Message:
-----------
Bind ctrl-shift-v to properties so it doesn't crash VTE

Some VTE versions crash if paste is activated with the cursor outside the window, bind VTE paste to innocuous "Properties" so it will override VTE paste outside the VTE window.


Modified Paths:
--------------
    src/keybindings.c

Modified: src/keybindings.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -345,7 +345,7 @@ static void init_default_kb(void)
 		GDK_KEY_s, GDK_SHIFT_MASK | GEANY_PRIMARY_MOD_MASK, "menu_saveall", _("Save all"),
 		"menu_save_all1");
 	add_kb(group, GEANY_KEYS_FILE_PROPERTIES, NULL,
-		0, 0, "file_properties", _("Properties"), "properties1");
+		GDK_KEY_v, GDK_SHIFT_MASK | GEANY_PRIMARY_MOD_MASK,, "file_properties", _("Properties"), "properties1");
 	add_kb(group, GEANY_KEYS_FILE_PRINT, NULL,
 		GDK_KEY_p, GEANY_PRIMARY_MOD_MASK, "menu_print", _("Print"), "print1");
 	add_kb(group, GEANY_KEYS_FILE_CLOSE, NULL,



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list