Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
feh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
derf
feh
Commits
f4420709
Commit
f4420709
authored
14 years ago
by
Birte Kristina Friesel
Browse files
Options
Downloads
Patches
Plain Diff
Make --cache-thumbnails adhere more to the standard
parent
17e2a29a
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
ChangeLog
+1
-0
1 addition, 0 deletions
ChangeLog
man/feh.1
+3
-3
3 additions, 3 deletions
man/feh.1
src/options.c
+3
-1
3 additions, 1 deletion
src/options.c
src/thumbnail.c
+1
-1
1 addition, 1 deletion
src/thumbnail.c
with
8 additions
and
5 deletions
ChangeLog
+
1
−
0
View file @
f4420709
...
...
@@ -3,6 +3,7 @@ git HEAD
* Patch by aaptel: Support numpad keys for actions
* Fix blur mode (Ctrl + left mouse key)
* Center images in index/thumbnail mode relative to the text below them
* Various thumbnail caching improvements, better standard implementation
Thu May 6 08:34:39 CEST 2010 Daniel Friesel <derf@chaosdorf.de>
...
...
This diff is collapsed.
Click to expand it.
man/feh.1
+
3
−
3
View file @
f4420709
...
...
@@ -134,9 +134,9 @@ Create borderless windows.
Use builtin HTTP client to grab remote files instead of
.Xr wget 1 .
.It Cm --cache-thumbnails
Enable thumbnail caching in
.Pa ~/.thumbnails
(rather experimental)
.
Enable
(experimental)
thumbnail caching in
.Pa ~/.thumbnails
.
Only works with thumbnails <= 128x128 pixels
.
.It Cm --caption-path Ar path
Path to directory containing image captions. This turns on caption viewing,
and if captions are found in
...
...
This diff is collapsed.
Click to expand it.
src/options.c
+
3
−
1
View file @
f4420709
...
...
@@ -797,6 +797,7 @@ static void check_options(void)
free
(
opt
.
thumb_title
);
opt
.
thumb_title
=
NULL
;
}
D_RETURN_
(
4
);
}
...
...
@@ -960,7 +961,8 @@ void show_usage(void)
" OPTIONS
\n
"
" -t, --thumbnails As --index, but clicking an image will open it in
\n
"
" a new viewing window
\n
"
" --cache-thumbnails Enable thumbnail caching
\n
"
" --cache-thumbnails Enable thumbnail caching for thumbnail mode.
\n
"
" Only works with thumbnails <= 128x128 pixels
\n
"
" -~, --thumb-title STRING Set window title for images opened from thumbnail mode.
\n
"
" Supports format specifiers, see there.
\n
"
" -I, --fullindex Same as index mode, but below each thumbnail you
\n
"
...
...
This diff is collapsed.
Click to expand it.
src/thumbnail.c
+
1
−
1
View file @
f4420709
...
...
@@ -717,7 +717,7 @@ int feh_thumbnail_get_thumbnail(Imlib_Image * image, feh_file * file)
if
(
!
status
)
status
=
feh_thumbnail_generate
(
image
,
file
,
thumb_file
,
uri
);
printf
(
"uri is %s, thumb_file is %s
\n
"
,
uri
,
thumb_file
);
D
(
1
,
(
"uri is %s, thumb_file is %s
\n
"
,
uri
,
thumb_file
)
)
;
free
(
uri
);
free
(
thumb_file
);
}
else
...
...
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