diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2012-08-01 17:30:42 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-24 21:28:33 +0100 |
commit | 2cfaaed875e7caeae898acf23630558077bb668a (patch) | |
tree | a85195e15ef7fdba89c27cec1a9609c3290128bf /perl-install/install | |
parent | 602108d3f37701dcecdeb9697c05c3b9d76eb67a (diff) | |
download | drakx-2cfaaed875e7caeae898acf23630558077bb668a.tar drakx-2cfaaed875e7caeae898acf23630558077bb668a.tar.gz drakx-2cfaaed875e7caeae898acf23630558077bb668a.tar.bz2 drakx-2cfaaed875e7caeae898acf23630558077bb668a.tar.xz drakx-2cfaaed875e7caeae898acf23630558077bb668a.zip |
"Gtk2::Gdk::Keysyms{XYZ}" => "Gtk3::Gdk::KEY_XYZ"
Diffstat (limited to 'perl-install/install')
-rw-r--r-- | perl-install/install/gtk.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install/gtk.pm b/perl-install/install/gtk.pm index ac5c49ba4..a1fa46ebf 100644 --- a/perl-install/install/gtk.pm +++ b/perl-install/install/gtk.pm @@ -228,7 +228,7 @@ sub handle_unsafe_mouse { sub special_shortcuts { my (undef, $event) = @_; - my $d = ${{ $Gtk2::Gdk::Keysyms{F2} => 'screenshot', $Gtk2::Gdk::Keysyms{Home} => 'restart' }}{$event->keyval}; + my $d = ${{ Gtk3::Gdk::KEY_F2 => 'screenshot', Gtk3::Gdk::KEY_Home => 'restart' }}{$event->keyval}; if ($d eq 'screenshot') { install::any::take_screenshot($::o); } elsif ($d eq 'restart' && member('control-mask', @{$event->state}) && member('mod1-mask', @{$event->state})) { |