[Commits] [SCM] clawsker branch, master, updated. 1.3.8-6-g827786b

mones at claws-mail.org mones at claws-mail.org
Fri Aug 23 15:30:56 UTC 2024


The branch, master has been updated
       via  827786bc9fe470ee61e72c9023a1c11e5a686638 (commit)
      from  31e0b9e688de669f0e44fdf35931b527ff219376 (commit)

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


- Log -----------------------------------------------------------------
commit 827786bc9fe470ee61e72c9023a1c11e5a686638
Author: Ricardo Mones <ricardo at mones.org>
Date:   Fri Aug 23 17:30:28 2024 +0200

    Fix imported items from File::Spec::Functions
    
    And adjust some variables scope for tests.

diff --git a/clawsker b/clawsker
index c3bc6fe..68062d4 100755
--- a/clawsker
+++ b/clawsker
@@ -20,7 +20,7 @@ use version 0.77;
 use Glib qw(TRUE FALSE);
 use Gtk3;
 use File::Which;
-use File::Spec::Functions;
+use File::Spec::Functions qw(catdir catfile catpath splitpath);
 use POSIX qw(setlocale);
 use Locale::gettext;
 use Encode;
@@ -37,7 +37,7 @@ my $READONLY = FALSE;
 my $IGNOREV = FALSE;
 my $HIDEDK = FALSE;
 my $LOWRES = FALSE;
-my $CLAWSV = undef;
+our $CLAWSV = undef;
 my $main_window = undef;
 
 sub initialise {
@@ -282,9 +282,9 @@ my %HPVALUE = ();
 my %ACHPVALUE = ();
 my %PLHPVALUE = ();
 # default config dir and file name
-my $ALTCONFIGDIR = FALSE;
-my $CONFIGDIR = catdir ($ENV{HOME}, '.claws-mail');
-my $CONFIGRC = 'clawsrc';
+our $ALTCONFIGDIR = FALSE;
+our $CONFIGDIR = catdir ($ENV{HOME}, '.claws-mail');
+our $CONFIGRC = 'clawsrc';
 my $ACCOUNTRC = 'accountrc';
 # supported and available plugins lists
 my @PLUGINS = qw(AttRemover GPG ManageSieve Libravatar PerlPlugin);

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


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


More information about the Commits mailing list