[Commits] [SCM] clawsker branch, master, updated. 1.0.1-30-gb888696

mones at claws-mail.org mones at claws-mail.org
Sun Mar 12 11:51:41 CET 2017


The branch, master has been updated
       via  b8886966fe7a1f72809dd939c40204df99810aed (commit)
      from  eb162da101add4e8396b6bad42b6ddbfcee4f49b (commit)

Summary of changes:
 clawsker |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit b8886966fe7a1f72809dd939c40204df99810aed
Author: Ricardo Mones <ricardo at mones.org>
Date:   Sun Mar 12 11:51:24 2017 +0100

    Update also 'enabled' flag

diff --git a/clawsker b/clawsker
index 0be22aa..dcf091f 100755
--- a/clawsker
+++ b/clawsker
@@ -2156,7 +2156,9 @@ sub new_hotkeys_list_hotkey {
         $model->set($iter, C_HOTKEY, "\"$accel\"");
         my $gkey = $model->get_value ($iter, C_GROUP);
         my $akey = $model->get_value ($iter, C_ACCEL);
-        $HOTKEYS->{$gkey}->{$akey}->{'key'} = "\"$accel\"";
+        my $data = $HOTKEYS->{$gkey}->{$akey};
+        $data->{'key'} = "\"$accel\"";
+        $data->{'enabled'} = TRUE;
     });
     $renderer->signal_connect ('accel-cleared' => sub {
         my ($w, $path) = @_;
@@ -2164,7 +2166,9 @@ sub new_hotkeys_list_hotkey {
         $model->set($iter, C_HOTKEY, "\"\"");
         my $gkey = $model->get_value ($iter, C_GROUP);
         my $akey = $model->get_value ($iter, C_ACCEL);
-        $HOTKEYS->{$gkey}->{$akey}->{'key'} = "\"\"";
+        my $data = $HOTKEYS->{$gkey}->{$akey};
+        $data->{'key'} = "\"\"";
+        $data->{'enabled'} = FALSE;
     });
     return $renderer;
 }

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


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


More information about the Commits mailing list