[geany/geany] f94d7e: Set ctrl-shift-v to properties to stop it crashing VTE (#2843)

elextr git-noreply at xxxxx
Mon Jul 12 02:43:18 UTC 2021


Branch:      refs/heads/master
Author:      elextr <elextr at gmail.com>
Committer:   GitHub <noreply at github.com>
Date:        Mon, 12 Jul 2021 02:43:18 UTC
Commit:      f94d7ea6aab73371b10b4b063b8d4769e52acc8f
             https://github.com/geany/geany/commit/f94d7ea6aab73371b10b4b063b8d4769e52acc8f

Log Message:
-----------
Set ctrl-shift-v to properties to stop it crashing VTE (#2843)

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