[Commits] [SCM] clawsker branch, master, updated. 1.2.0-15-g972ec94
mones at claws-mail.org
mones at claws-mail.org
Sat Nov 10 19:58:06 CET 2018
The branch, master has been updated
via 972ec94111710170baf291d39e8442256ed8edc2 (commit)
from b108ec88b2714a453ef2dc46c39b360f26926ab6 (commit)
Summary of changes:
clawsker | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit 972ec94111710170baf291d39e8442256ed8edc2
Author: Ricardo Mones <ricardo at mones.org>
Date: Sat Nov 10 19:53:25 2018 +0100
Seems Accelerators are gone too
Error was “Can't locate object method "parse" via package "Gtk3::Accelerator"
(perhaps you forgot to load "Gtk3::Accelerator"?) at ./clawsker line 2270.”
See: https://stackoverflow.com/questions/46793712 (yes, this is a Ruby
question, but the given answer also works for Perl ;-)
diff --git a/clawsker b/clawsker
index 0c368ca..d1d666d 100755
--- a/clawsker
+++ b/clawsker
@@ -2268,7 +2268,7 @@ sub new_hotkeys_list {
my ($col, $renderer, $model, $iter, $data) = @_;
my $hkey = $model->get_value ($iter, C_HOTKEY);
$hkey =~ s/\"//g;
- my ($acckey, $accmod) = Gtk3::Accelerator->parse ($hkey);
+ my ($acckey, $accmod) = Gtk3::accelerator_parse ($hkey);
$renderer->set_property ('accel-key' => $acckey);
$renderer->set_property ('accel-mods' => $accmod);
$renderer->set_property (
-----------------------------------------------------------------------
hooks/post-receive
--
Hidden preferences editor for Claws Mail
More information about the Commits
mailing list