Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
GNOME
gThumb
Commits
1fc0a68a
Commit
1fc0a68a
authored
Dec 19, 2019
by
Paolo Bacchilega
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
default size: try to display 6 columns of thumbnails
parent
6f2b5736
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
gthumb/gth-browser.c
gthumb/gth-browser.c
+1
-1
No files found.
gthumb/gth-browser.c
View file @
1fc0a68a
...
...
@@ -4358,7 +4358,7 @@ gth_browser_init (GthBrowser *browser)
sidebar_width
=
g_settings_get_int
(
browser
->
priv
->
browser_settings
,
PREF_BROWSER_BROWSER_SIDEBAR_WIDTH
)
+
10
;
thumb_size
=
g_settings_get_int
(
browser
->
priv
->
browser_settings
,
PREF_BROWSER_THUMBNAIL_SIZE
);
thumb_spacing
=
40
;
default_columns_of_thumbnails
=
5
;
default_columns_of_thumbnails
=
6
;
for
(
n_cols
=
default_columns_of_thumbnails
;
n_cols
>=
1
;
n_cols
--
)
{
window_width
=
sidebar_width
+
(
thumb_spacing
+
20
)
+
(
n_cols
*
(
thumb_size
+
thumb_spacing
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment