Skip to content
Snippets Groups Projects
Commit 99c6ba66 authored by Gerhard Gonter's avatar Gerhard Gonter :speech_balloon:
Browse files

trying to factor out something

parent 5598da73
No related branches found
No related tags found
No related merge requests found
...@@ -50,6 +50,7 @@ use Tomboy::Note::Simple; ...@@ -50,6 +50,7 @@ use Tomboy::Note::Simple;
use Tomboy::Directory; use Tomboy::Directory;
use Tomboy::TOC; use Tomboy::TOC;
my $toc;
my $toc_file; my $toc_file;
my $note_dir_changed= 0; my $note_dir_changed= 0;
...@@ -59,7 +60,6 @@ my $start_tb= 0; ...@@ -59,7 +60,6 @@ my $start_tb= 0;
my $start_visual_editor= 0; # AKA $EDITOR my $start_visual_editor= 0; # AKA $EDITOR
my $dump_note= 0; my $dump_note= 0;
my $verbosity= 'dump'; my $verbosity= 'dump';
my $toc;
my $op_code; my $op_code;
my @PAR; my @PAR;
...@@ -164,6 +164,7 @@ sub setup_toc ...@@ -164,6 +164,7 @@ sub setup_toc
$toc_file= join ('/', $note_dir, 'Tomboy-TOC.csv') unless (defined ($toc_file)); $toc_file= join ('/', $note_dir, 'Tomboy-TOC.csv') unless (defined ($toc_file));
$toc= new Tomboy::TOC('note_dir' => $note_dir, 'toc_file' => $toc_file); $toc= new Tomboy::TOC('note_dir' => $note_dir, 'toc_file' => $toc_file);
# print "toc: ", Dumper ($toc); # print "toc: ", Dumper ($toc);
return ($toc_file, $toc);
} }
sub tom_toc sub tom_toc
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment