Restore missing hints on widgets
authorRicardo Mones <ricardo@mones.org>
Sat, 10 Nov 2018 19:32:02 +0000 (20:32 +0100)
committerRicardo Mones <ricardo@mones.org>
Sat, 10 Nov 2018 19:32:02 +0000 (20:32 +0100)
clawsker

index 6c9c95a0c9964b0c949348e33eb8a19fc309f583..38d8c11256c73a7b1666dc1db1eca2f27121aad4 100755 (executable)
--- 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 {