[geany/geany] 0adab7: Set ctrl-shift-v to properties to stop it crashing VTE

elextr git-noreply at xxxxx
Mon Jul 12 00:43:26 UTC 2021


Branch:      refs/heads/elextr-patch-3
Author:      elextr <elextr at gmail.com>
Committer:   GitHub <noreply at github.com>
Date:        Mon, 12 Jul 2021 00:43:26 UTC
Commit:      0adab773b48599870e5b223933cdc3561739e5ad
             https://github.com/geany/geany/commit/0adab773b48599870e5b223933cdc3561739e5ad

Log Message:
-----------
Set ctrl-shift-v to properties to stop it crashing VTE

Some VTE versions crash if paste happens with focus outside the window, bind the accelerator to something innocuous in Geany to override it 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