Curie/Component/AccelMap.pm untested

filter: Statementstmt 0.0% 0 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod n/a totaltotal 0.0% 0 / 17 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 use Renard::Incunabula::Common::Setup;
2 package Renard::Curie::Component::AccelMap;
3 # ABSTRACT: Set up the accelerator map (global keybindings)
4 $Renard::Curie::Component::AccelMap::VERSION = '0.005';
5 use Moo;
6 use Intertangle::API::Gtk3::Helper;
7  
8 method BUILD(@) {
9 Gtk3::AccelMap::add_entry(
10 '<Curie-Main>/File/Open',
11 Gtk3::Gdk::KEY_O(),
12 'control-mask'
13 );
14  
15 Gtk3::AccelMap::add_entry(
16 '<Curie-Main>/File/Quit',
17 Gtk3::Gdk::KEY_Q(),
18 'control-mask'
19 );
20  
21 Gtk3::AccelMap::add_entry(
22 '<Curie-Main>/View/Sidebar',
23 Gtk3::Gdk::KEY_F9(),
24 'release-mask'
25 );
26 }
27  
28 1;
29  
30 __END__