Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
pwmt
zathura
Commits
a9f044c9
Commit
a9f044c9
authored
Aug 30, 2013
by
Sebastian Ramacher
Browse files
Set recolor info initially
Signed-off-by:
Sebastian Ramacher
<
sebastian+dev@ramacher.at
>
parent
07005886
Changes
1
Hide whitespace changes
Inline
Side-by-side
zathura.c
View file @
a9f044c9
...
...
@@ -727,6 +727,12 @@ document_open(zathura_t* zathura, const char* path, const char* password,
g_free
(
recolor_dark
);
g_free
(
recolor_light
);
bool
recolor
=
false
;
girara_setting_get
(
zathura
->
ui
.
session
,
"recolor"
,
&
recolor
);
zathura_renderer_enable_recolor
(
zathura
->
sync
.
render_thread
,
recolor
);
girara_setting_get
(
zathura
->
ui
.
session
,
"recolor-keephue"
,
&
recolor
);
zathura_renderer_enable_recolor_hue
(
zathura
->
sync
.
render_thread
,
recolor
);
/* create blank pages */
zathura
->
pages
=
calloc
(
number_of_pages
,
sizeof
(
GtkWidget
*
));
if
(
zathura
->
pages
==
NULL
)
{
...
...
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