Bug 17178: Add shortcut to keyboard_shortcut table
This patch adds Ctrl-K shortcut to toggle virtual keyboard shortcut Sponsored-by: Round Rock Public Library Signed-off-by: Liz Rea <wizzyrea@gmail.com> Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
fc39e24eb5
commit
00b71e8ea3
2 changed files with 12 additions and 1 deletions
10
installer/data/mysql/atomicupdate/bug_17178.perl
Normal file
10
installer/data/mysql/atomicupdate/bug_17178.perl
Normal file
|
@ -0,0 +1,10 @@
|
|||
$DBversion = 'XXX';
|
||||
if( CheckVersion( $DBversion ) ) {
|
||||
$dbh->do(q{
|
||||
INSERT INTO keyboard_shortcuts (shortcut_name, shortcut_keys)
|
||||
VALUES ("toggle_keyboard", "Shift-Ctrl-K")
|
||||
});
|
||||
|
||||
SetVersion( $DBversion );
|
||||
print "Upgrade to $DBversion done (Bug 17178 - add shortcut to keyboard_shortcuts)\n";
|
||||
}
|
|
@ -31,4 +31,5 @@ INSERT INTO keyboard_shortcuts (shortcut_name, shortcut_keys) VALUES
|
|||
("new_line","Enter"),
|
||||
("line_break","Shift-Enter"),
|
||||
("next_position","Tab"),
|
||||
("prev_position","Shift-Tab");
|
||||
("prev_position","Shift-Tab"),
|
||||
("toggle_keyboard", "Shift-Ctrl-K");
|
||||
|
|
Loading…
Reference in a new issue