Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
pwmt
zathura
Commits
d31a350f
Commit
d31a350f
authored
Oct 21, 2011
by
Sebastian Ramacher
Browse files
readd scroll-step
parent
7a5dd056
Changes
1
Hide whitespace changes
Inline
Side-by-side
shortcuts.c
View file @
d31a350f
...
...
@@ -235,6 +235,11 @@ sc_scroll(girara_session_t* session, girara_argument_t* argument, unsigned int
gdouble
value
=
gtk_adjustment_get_value
(
adjustment
);
gdouble
max
=
gtk_adjustment_get_upper
(
adjustment
)
-
view_size
;
gdouble
scroll_step
=
40
;
float
*
tmp
=
girara_setting_get
(
session
,
"scroll-step"
);
if
(
tmp
!=
NULL
)
{
scroll_step
=
*
tmp
;
g_free
(
tmp
);
}
gdouble
new_value
;
switch
(
argument
->
n
)
{
...
...
Write
Preview
Supports
Markdown
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