Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
docu-tools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gerhard Gonter
docu-tools
Commits
9e979a98
Commit
9e979a98
authored
6 years ago
by
Gerhard Gonter
Browse files
Options
Downloads
Patches
Plain Diff
notebooks should probably be lists
parent
947271ac
Branches
master
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
perl/Gnome-Tomboy/lib/Tomboy/Directory.pm
+1
-1
1 addition, 1 deletion
perl/Gnome-Tomboy/lib/Tomboy/Directory.pm
perl/Gnome-Tomboy/lib/Tomboy/Note/Simple.pm
+13
-4
13 additions, 4 deletions
perl/Gnome-Tomboy/lib/Tomboy/Note/Simple.pm
with
14 additions
and
5 deletions
perl/Gnome-Tomboy/lib/Tomboy/Directory.pm
+
1
−
1
View file @
9e979a98
...
...
@@ -176,7 +176,7 @@ print __LINE__, " scan_dir: quick=[$quick]\n";
closedir
(
DIR
);
# TODO: list dropped/deleted files
print
__LINE__
,
"
fnm:
",
Dumper
(
\
%fnm
);
#
print __LINE__, " fnm: ", Dumper (\%fnm);
foreach
my
$fp
(
keys
%fnm
)
{
print
"
DEL:
",
$fp
,
"
\n
";
...
...
This diff is collapsed.
Click to expand it.
perl/Gnome-Tomboy/lib/Tomboy/Note/Simple.pm
+
13
−
4
View file @
9e979a98
...
...
@@ -549,13 +549,22 @@ sub save
# print "tags: ", Dumper ($note->{'tags'});
my
@tags
=
();
push
(
@tags
,
'
system:template
')
if
(
$is_template
);
if
(
$nb_list
)
{
foreach
my
$nb_name
(
@$nb_list
)
print
__LINE__
,
"
nb_list=[
$nb_list
]
\n
";
if
(
scalar
(
$nb_list
)
eq
'
ARRAY
')
{
# hmm... how can this be a list?
if
(
$nb_list
)
{
push
(
@tags
,
'
system:notebook:
'
.
$nb_name
)
foreach
my
$nb_name
(
@$nb_list
)
{
push
(
@tags
,
'
system:notebook:
'
.
$nb_name
)
}
}
}
else
{
push
(
@tags
,
'
system:notebook:
'
.
$nb_list
)
}
unless
(
defined
(
$fnm_out
))
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment