[Commits] [SCM] clawsker branch, master, updated. 1.3.0-4-g4482693

mones at claws-mail.org mones at claws-mail.org
Wed Dec 19 20:37:21 CET 2018


The branch, master has been updated
       via  4482693c3be2c747e3fb19e3946ef822975b9484 (commit)
      from  3f2b1c5ebcbf930a10adc13774c016ce386b02af (commit)

Summary of changes:
 clawsker |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit 4482693c3be2c747e3fb19e3946ef822975b9484
Author: Ricardo Mones <ricardo at mones.org>
Date:   Wed Dec 19 20:32:42 2018 +0100

    Fix setting hotkeys
    
    Thanks George for reporting on Users ML.
    
    Error messages were:
    *** unhandled exception in callback:
    ***   Can't locate object method "name" via package "Gtk3::Accelerator"
     (perhaps you forgot to load "Gtk3::Accelerator"?) at ./clawsker line
     2109.

diff --git a/clawsker b/clawsker
index 9b31fe0..4ba365c 100755
--- a/clawsker
+++ b/clawsker
@@ -2106,7 +2106,7 @@ sub new_hotkeys_list_hotkey {
     $renderer->set_property ('editable' => TRUE);
     $renderer->signal_connect ('accel-edited' => sub {
         my ($w, $path, $key, $mods, $keycode) = @_;
-        my $accel = Gtk3::Accelerator->name ($key, $mods);
+        my $accel = Gtk3::accelerator_name ($key, $mods);
         my ($model, $iter) = $SELHOTKEY->get_selected ();
         $model->set($iter, C_HOTKEY, "\"$accel\"");
         my $gkey = $model->get_value ($iter, C_GROUP);

-----------------------------------------------------------------------


hooks/post-receive
-- 
Hidden preferences editor for Claws Mail


More information about the Commits mailing list