Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
When annotating or filling a form in a document, this must be saved
as a different document as atril does not overwrite documents.
The user can expect to store the modified file in the same place
than the original document, except when the document lives in
a temporary directory (e.g. downloaded automatically with a web
browser), in whose case it must fallback to the Documents
directory (if set) or the the home directory.
Previously, atril assumed the latest directory used, or the place
where an image or attachment was stored last. Such behaviour is
confusing because the latest place opened might have no relation
with the document modified.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=767611
Adapted from https://gitlab.gnome.org/GNOME/evince/commit/319a6d49
|
|
Use g_debug instead of g_printerr for debug warnings that happen
during normal operation. This way messages are suppressed, unless
the G_MESSAGES_DEBUG variable is set, and we avoid filling everyone's
journal with repetitive debugging info.
https://bugzilla.gnome.org/show_bug.cgi?id=723972
origin commit:
https://gitlab.gnome.org/GNOME/evince/commit/707725e
fixes https://github.com/mate-desktop/atril/issues/315
|
|
|
|
follow-up to be5fadcdce164bf7b4cde5487dd0c8837a7efb9d
|
|
|
|
|
|
|
|
|
|
|
|
this also disables it when no document is loaded
|
|
follow-up to 9c08159f6ce959f1aa0fc87da265854e9672365e - this action
should be disabled when e.g. a truncated pdf is loaded
|
|
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=38528f9
|
|
So it can be styled with CSS.
https://bugzilla.gnome.org/show_bug.cgi?id=653294
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=7a6b53a
https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=4657961
|
|
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=3fd4162
|
|
|
|
otherwise atril crashes
https://bugzilla.gnome.org/show_bug.cgi?id=685591
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=b4bf316
|
|
With the recent changes in gtk+, widgets have to draw themselves,
causing the current use of gdk_window_set_background_rgba to fail.
https://bugzilla.gnome.org/show_bug.cgi?id=765557
view: Redraw ev-view-presentation when setting normal and black mode.
The black and normal mode are the same from the CSS point of view.
The difference is that in the draw function the page is not drawn
in black mode. Hence, we need to explicitly queue a redraw in these
cases. Since setting the white mode add a CSS class, this queues
the redraw for us.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=772390.
origin commits:
https://git.gnome.org/browse/evince/commit/?id=2b352b3
https://git.gnome.org/browse/evince/commit/?id=b3f49f4
Fixes https://github.com/mate-desktop/atril/issues/232
|
|
origin commit:
https://git.gnome.org/browse/evince/commit/shell?h=gnome-3-6&id=65fa4ff
|
|
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-6&id=ba06a5e
|
|
Remove the EvLoadingWindow from libview and move the implementation to
the shell using a EvLoadingMessage widget and GtkOverlay. EvView has now
a is-loading property that allows the users to implement their own
loading notification system. This fixes several realted to the loading
window.
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=035c1cb
|
|
Since there was only the one, also remove the whole glib-genmarshal setup.
If we ever need another non-stock marshaler, we'll just use the new glib
generic marshaler.
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-6&id=fe7f842
|
|
Remove TotemScrsaver copy, and use GtkApplication inhibition instead.
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-6&id=612701f
|
|
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-6&id=b999bdd
|
|
These are really runtime errors, not warnings, so just use g_printerr.
origin commit:
https://git.gnome.org/browse/evince/commit/?id=adbed8b
|
|
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-6&id=1b3d4dd
|
|
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-6&id=1aac15e
|
|
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-6&id=5141dcb
|
|
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-6&id=c9aada8
|
|
fixes conflict with zoom_in
|
|
|
|
origin commit:
https://github.com/linuxmint/xreader/commit/43acb8f
|
|
|
|
|
|
|
|
This commit reverts:
https://github.com/mate-desktop/atril/commit/d9fffe2dc0e33d6777099c18635b7b75f54d3d35
And it applies an alternative to fix the deprecated functions:
gdk_screen_get_width
gdk_screen_get_height
|
|
but set this action sensitive for epubs
|
|
https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=f847cd0
https://git.gnome.org/browse/evince/commit/?id=aa76196
|
|
It is now doing nothing
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=b0f7bfe
|
|
Now that we chain the accels to the focused widget,
we do not need anymore to disable accels when the view
is not focused.
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=39defbd
|
|
GtkWindow catches keybindings for the menu items _before_ passing them to
the focused widget. This is unfortunate and means that pressing ctrl+Left
arrow, Ctrl+Right arrow on the search bar ends up turning the EvView
instead of moving around the text.
Here we override GtkWindow's handler to do the same things that it
does, but in the opposite order and then we chain up to the grand
parent handler, skipping gtk_window_key_press_event.
See https://bugzilla.gnome.org/show_bug.cgi?id=676040
inspired from https://git.gnome.org/browse/evince/commit/?id=70a2c0780b1b44acfa18f4762a3400b89eb123b5
fix rhbz https://bugzilla.redhat.com/show_bug.cgi?id=1513826
|
|
and a loop to change their sensitivity
inspired from:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-2&id=d15eeda
https://git.gnome.org/browse/evince/commit/?h=gnome-3-2&id=2ed0f3d
https://git.gnome.org/browse/evince/commit/?h=gnome-3-2&id=793361c
|
|
|
|
This is a quick fix for getting caret-navigation working in atril.
All this code needs to be reworked for epubs.
Note: caret-navigation is always enabled if text is selected with epubs,
for some reasons.
|
|
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=3e468fa
|
|
https://bugzilla.gnome.org/show_bug.cgi?id=702079
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=fc9b6d1
|
|
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=3e32b5d
|
|
They are handled by the EvView now.
We just leave the page up/down accels, so that they still work
even when the view is not focused.
origin commit (modified):
https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=6a7c3db
|
|
Dual mode isn't implemented for epubs
|