Age | Commit message (Collapse) | Author | Files | Lines |
|
Caused by GtkIconView doing an invalidate and relayout of *all*
items in the view anytime we update model data in any indiviual
item (which happens with all the items that are getting in and out
of the scrolling area while we scroll). This caused GtkIconView to
machine-gunned us with "size-allocate" signals, a signal we were
using to update thumbnails when the sidebar is resized.
Fixed by connecting to the GtkTreeModel "row-changed" signal before
GtkIconView does it, and stop emission from there.
As we don't depend now on "size-allocate" signals to show thumbnails
while we scroll, just queue a draw on the icon view when a
thumbnail finish rendering.
Thanks Jose Aliste for first spotting the problem.
https://bugzilla.gnome.org/show_bug.cgi?id=691448
origin commit:
https://git.gnome.org/browse/evince/commit/?id=6480c70
Fixes https://github.com/mate-desktop/atril/issues/255
|
|
Not sure why we need a GtkNotebook with a tab dedicated to nothing
but holding a single button. Ditch the notebook and put the add button
at the bottom of the sidebar.
The 'add annontation button' is edited for Atril,
just a GtkStock repacement without using GtkStock ;-)
And we use a GtkButtonBox instead of a GtkToolbar as parent for the
'add button', to be consistent with the other sidebars.
inspired by:
https://github.com/linuxmint/xreader/commit/b8627de
|
|
Use the GdkRGBA API on EvAnnotation, and on GtkColorChooser.
taken from:
https://git.gnome.org/browse/evince/commit/?id=c523ef8
|
|
|
|
https://github.com/linuxmint/xreader/commit/c47a1f4
|
|
This is full of deprecated code and wasn't displaying properly. Replace it with
a gtk_cell_renderer_toggle_new() which uses a standard themed checkbox widget
and should display properly in HiDPI.
|
|
Expand the scrolled window vertical so that you can actually
see the content of the widget. This also turned up a missing
gtk_style_context_save () in gimpcellrenderertoggle.c.
So fix that as well.
partial inspired from:
https://github.com/linuxmint/xreader/commit/6b6ae7f
|
|
Whole the function fullscreen_toolbar_remove_shadow isn't needed
without that deprecation.
Setting instead the widget name to make theming possible.
GtkToolbar-shadow-type is deprecated since gtk+-3.6
|
|
Fixes https://github.com/mate-desktop/atril/issues/264
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
and avoid to use GtkStock
|
|
If you stay on the last page when you close it, reopen it will
not be positioned until you visited it (reset to the first).
In the changed code:
Judgment only works on the last page.
This function explicitly introduces this problem, so it can be
removed directly.
I have been tested successfully.
|
|
|
|
and require caja >= 1.17.1
|
|
|
|
|
|
|
|
taken from:
https://git.gnome.org/browse/evince/commit/?id=8713e9adcd884d32d4d49e675a001bb26c590dcc
this metadata convert tool had been added to Evince back in 2009, and
I'm not sure it ever worked in Atril. time to drop it anyway.
|
|
|
|
|
|
adapted from:
https://git.gnome.org/browse/evince/commit/?id=00acd7274797fe3576be92f21faa32fd8692c95d
|
|
|
|
taken from:
https://git.gnome.org/browse/evince/commit/?id=a8d6329
|
|
taken from:
https://git.gnome.org/browse/evince/commit/?id=fff0e69
|
|
It uses caja-sendto to allow you to send the current document by
email, to a removable device, etc. If caja-sendto command is not
present in path, the menu item is hidden.
https://bugzilla.gnome.org/show_bug.cgi?id=569913
Taken from:
https://git.gnome.org/browse/evince/commit/?id=c9ce578
|
|
and add spawn and dbus support for named destinations
taken from:
https://git.gnome.org/browse/evince/commit/?id=a90e764
https://git.gnome.org/browse/evince/commit/?id=26c0109
|
|
taken from:
https://git.gnome.org/browse/evince/commit/?id=bbaeca0
|
|
After the last gtk+ update, the warning:
"Gtk-Message: GtkDialog mapped without a transient
parent. This is discouraged."
was shown whenever the annotation properties
dialog was opened. The commit fixes this issue by
setting this dialog transient for the main window.
As a plus, the dialog is now shown always on the
center of the main window.
https://bugzilla.gnome.org/show_bug.cgi?id=732114
taken from:
https://git.gnome.org/browse/evince/commit/?id=9533c68
|
|
https://bugzilla.gnome.org/show_bug.cgi?id=653910
taken from:
https://git.gnome.org/browse/evince/commit/?id=0d6afe8
|
|
This prevents a critical warning when opening a
document that was rotated in a previous Evince session.
taken from:
https://git.gnome.org/browse/evince/commit/?id=1b5cf70
|
|
gtk_widget_get_pointer()
|
|
|
|
Use gdk_display_get_app_launch_context() instead.
taken from:
https://git.gnome.org/browse/evince/commit/?id=987f7d9
|
|
The use of ngettext is adviced even if the singular form is not used
as languages other than english may have more than one plural form.
taken from:
https://git.gnome.org/browse/evince/commit/?id=29a368d
|
|
taken from:
https://git.gnome.org/browse/evince/commit/?id=da8f31e
|
|
|
|
|