[Commits] [SCM] clawsker branch, master, updated. 1.3.7-16-g8b99a8b

mones at claws-mail.org mones at claws-mail.org
Fri Dec 22 14:30:23 UTC 2023


The branch, master has been updated
       via  8b99a8bb83ab5b4b4f5316b181b84427a462c97f (commit)
      from  5349abae77acaae530bc59881e592ef13b312131 (commit)

Summary of changes:
 clawsker | 1 +
 1 file changed, 1 insertion(+)


- Log -----------------------------------------------------------------
commit 8b99a8bb83ab5b4b4f5316b181b84427a462c97f
Author: Ricardo Mones <ricardo at mones.org>
Date:   Fri Dec 22 15:13:41 2023 +0100

    Don't try to show dialog without DISPLAY

diff --git a/clawsker b/clawsker
index a357908..2965a3f 100755
--- a/clawsker
+++ b/clawsker
@@ -454,6 +454,7 @@ sub message_dialog {
 }
 
 sub error_dialog {
+    return unless (defined $ENV{'DISPLAY'} and $ENV{'DISPLAY'} ne '');
     my ($emsg) = @_;
     $emsg =~ s/&/&/g;
     my $markup = "<span weight=\"bold\" size=\"large\">" . $emsg . "</span>";

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


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


More information about the Commits mailing list