[Commits] [SCM] clawsker branch, master, updated. 1.3.4-6-g2fa0605

mones at claws-mail.org mones at claws-mail.org
Sat Jan 15 13:22:48 CET 2022


The branch, master has been updated
       via  2fa0605b2419c5c604ad7d29fbc9d8e87875cc94 (commit)
      from  ae20ba009f29b6abe41d0e3171216ad395272a83 (commit)

Summary of changes:
 clawsker | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit 2fa0605b2419c5c604ad7d29fbc9d8e87875cc94
Author: Ricardo Mones <ricardo at mones.org>
Date:   Sat Jan 15 13:21:51 2022 +0100

    Fix 4049 "Bold the lines with assigned hotkey"

diff --git a/clawsker b/clawsker
index e8956d7..3f3fb1a 100755
--- a/clawsker
+++ b/clawsker
@@ -2325,8 +2325,10 @@ sub new_hotkeys_list {
         0, _("Menu path"), new_hotkeys_list_label (),
         sub {
             my ($col, $renderer, $model, $iter, $data) = @_;
+            my $hkey = $model->get_value ($iter, C_HOTKEY);
+            my $weight = ($hkey ne '""')? 'weight="bold"': '';
             $renderer->set_property (
-                'markup' => '<span size="smaller">'
+                'markup' => "<span size=\"smaller\" $weight>"
                             . $model->get_value ($iter, C_LABEL)
                             . '</span>');
             my $bgcol = row_background_color (

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


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


More information about the Commits mailing list