[Commits] [SCM] clawsker branch, master, updated. 1.2.0-11-g5dd0ba7

mones at claws-mail.org mones at claws-mail.org
Sat Nov 10 19:38:37 CET 2018


The branch, master has been updated
       via  5dd0ba7ff2bfdd2c268ae992daa4e36ae28c1186 (commit)
      from  68d1d199ee753dacc0b58a4cddde97d7960f86de (commit)

Summary of changes:
 clawsker |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)


- Log -----------------------------------------------------------------
commit 5dd0ba7ff2bfdd2c268ae992daa4e36ae28c1186
Author: Ricardo Mones <ricardo at mones.org>
Date:   Sat Nov 10 19:37:09 2018 +0100

    Use getter to recover widgets' sensitivity
    
    Error was “Can't locate object method "sensitive" via package
    "Gtk3::SpinButton" at ./clawsker line 570.”

diff --git a/clawsker b/clawsker
index 9d09671..e971bcb 100755
--- a/clawsker
+++ b/clawsker
@@ -567,8 +567,8 @@ sub new_text_box_for_int($$$) {
         });
     set_widget_hint ($gentry, $$hash{$key}[DESC]);
     set_widget_sens ($gentry, $$hash{$key}[CMVER]);
-    $glabel->set_sensitive ($gentry->sensitive);
-    $gunits->set_sensitive ($gentry->sensitive) if ($gunits);
+    $glabel->set_sensitive ($gentry->get_sensitive);
+    $gunits->set_sensitive ($gentry->get_sensitive) if ($gunits);
     #
     return new_hbox_spaced_pack ($glabel, $gentry, $gunits) if ($gunits);
     return new_hbox_spaced_pack ($glabel, $gentry);
@@ -594,7 +594,7 @@ sub new_text_box_for_nchar($$$) {
         });
     set_widget_hint ($gentry, $$hash{$key}[DESC]);
     set_widget_sens ($gentry, $$hash{$key}[CMVER]);
-    $glabel->set_sensitive ($gentry->sensitive);
+    $glabel->set_sensitive ($gentry->get_sensitive);
     #
     return new_hbox_spaced_pack ($glabel, $gentry);
 }
@@ -617,7 +617,7 @@ sub new_color_button_for($$$) {
         });
     set_widget_hint ($button, $$hash{$key}[DESC]);
     set_widget_sens ($button, $$hash{$key}[CMVER]);
-    $glabel->set_sensitive ($button->sensitive);
+    $glabel->set_sensitive ($button->get_sensitive);
     #
     return new_hbox_spaced_pack ($button, $glabel);
 }
@@ -643,7 +643,7 @@ sub new_selection_box_for($$$) {
     $combo->set_active ($value);
     set_widget_hint ($combo, $$hash{$key}[DESC]);
     set_widget_sens ($combo, $$hash{$key}[CMVER]);
-    $glabel->set_sensitive ($combo->sensitive);
+    $glabel->set_sensitive ($combo->get_sensitive);
     #
     return new_hbox_spaced_pack ($glabel, $combo);
 }

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


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


More information about the Commits mailing list