[Commits] [SCM] clawsker branch, master, updated. 1.2.0-20-gcb29745

mones at claws-mail.org mones at claws-mail.org
Sat Nov 10 20:35:22 CET 2018


The branch, master has been updated
       via  cb2974581782d7af3e788d485f4a619f01b821f4 (commit)
      from  79ee4413ce5aaa5352def2a1ab021469b62a13f0 (commit)

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


- Log -----------------------------------------------------------------
commit cb2974581782d7af3e788d485f4a619f01b821f4
Author: Ricardo Mones <ricardo at mones.org>
Date:   Sat Nov 10 20:32:02 2018 +0100

    Restore missing hints on widgets

diff --git a/clawsker b/clawsker
index 6c9c95a..38d8c11 100755
--- a/clawsker
+++ b/clawsker
@@ -42,9 +42,6 @@ setlocale (LC_ALL, $locale);
 bindtextdomain ($NAME, sprintf ('%s/share/locale', $PREFIX));
 textdomain ($NAME);
 
-my $SHOWHINTS = FALSE;
-$SHOWHINTS = TRUE if ($Gtk3::VERSION >= 1.040 and Gtk3->CHECK_VERSION (2, 12, 0));
-
 sub _ {
     my $str = shift;
     my %par = @_;
@@ -520,11 +517,9 @@ sub check_rc_file {
 }
 
 sub set_widget_hint {
-    if ($SHOWHINTS) {
-        my ($wdgt, $hint) = @_;
-        $wdgt->set_tooltip_text ($hint);
-        $wdgt->set_has_tooltip (TRUE);
-    }
+    my ($wdgt, $hint) = @_;
+    $wdgt->set_tooltip_text ($hint);
+    $wdgt->set_has_tooltip (TRUE);
 }
 
 sub set_widget_sens {

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


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


More information about the Commits mailing list