1
0
mirror of https://gitlab.gnome.org/GNOME/evince synced 2024-07-02 15:48:59 +00:00
Commit Graph

9103 Commits

Author SHA1 Message Date
Alexander Shopov
3dac9991f0 Update Bulgarian translation
(cherry picked from commit 169966522e)
2023-04-07 17:41:57 +00:00
Yuri Chornoivan
eb5ba8e82b Update Ukrainian translation 2023-04-04 18:56:26 +00:00
Aleksandr Melman
472a6c12d6 Update Russian translation 2023-04-03 07:29:09 +00:00
Yuri Chornoivan
95a0a6591b Fix minor typo 2023-04-02 11:22:41 +00:00
Yuri Chornoivan
a249df8628 Update Ukrainian translation 2023-04-02 11:11:01 +00:00
Pablo Correa Gómez
73496af932
ev-view: Remove clear_link_selected private function
This function is a one-liner, that can instead be intuitively replaced
in the different places where it is used.
2023-03-24 09:58:49 +01:00
Pablo Correa Gómez
6702f26186
ev-view-presentation: Simplify reset_jobs calls
ev_presentation_delete_job already checks whether the job is NULL,
and finishes with a g_object_unref which warranties that

pview->*_job = NULL

So there's no need to set them afterwards.
2023-03-24 09:58:48 +01:00
Pablo Correa Gómez
200be9b923
properties: simplify freeing memory by better exploiting glib functions 2023-03-24 09:58:48 +01:00
Pablo Correa Gómez
b477c21c6d
previewer: simplify freeing memory by better exploiting glib functions
Mostly g_clear_object and g_clear_pointer. But also some small
simplifications depending on the context.
2023-03-24 09:58:48 +01:00
Pablo Correa Gómez
6257516218
libmisc: simplify freeing memory by better exploiting glib functions
Mostly g_clear_object and g_clear_pointer. But also some small
simplifications depending on the context.
2023-03-24 09:58:48 +01:00
Pablo Correa Gómez
273511ac39
libdocument: simplify freeing memory by better exploiting glib functions
Mostly g_clear_object and g_clear_pointer. But also some small
simplifications depending on the context.
2023-03-24 09:58:48 +01:00
Pablo Correa Gómez
33b251b6e1
libview: simplify freeing memory by better exploiting glib functions
Mostly g_clear_object and g_clear_pointer. But also some small
simplifications depending on the context.
2023-03-24 09:58:48 +01:00
Pablo Correa Gómez
0f8116614c
ev-window: Simplify dispose by not checking previous to ev_window_clear*
Those functions already check internally before doing any tasks, and
make sure to nullify whatever they clear, so setting those to NULL
is not necessary either.
2023-03-24 09:58:48 +01:00
Pablo Correa Gómez
84a2648215
shell: simplify freeing memory by better exploiting glib functions
Mostly g_clear_object and g_clear_pointer. But also some small
simplifications depending on the context.
2023-03-24 09:58:48 +01:00
Pablo Correa Gómez
56711b0618 Add git-blame-ignore-refs
For now, mostly relevant to avoid whitespaces changes to show in blame
2023-03-22 17:23:38 -03:00
Pablo Correa Gómez
bb692ef155 ev-sidebar-annotations: Fix indentation 2023-03-22 20:15:51 +00:00
Pablo Correa Gómez
03e5dc2cce ci: Remove trailing whitespaces 2023-03-22 20:15:51 +00:00
Pablo Correa Gómez
1cf47ada81 thumnailer: Remove trailing whitespaces 2023-03-22 20:15:51 +00:00
Pablo Correa Gómez
2940af6afd properties: Remove trailing whitespaces 2023-03-22 20:15:51 +00:00
Pablo Correa Gómez
e50b7a5368 previewer: Remove trailing whitespaces 2023-03-22 20:15:51 +00:00
Pablo Correa Gómez
dd48774cf0 backend: Remove trailing whitespaces 2023-03-22 20:15:51 +00:00
Pablo Correa Gómez
036ee8f3c5 libmisc: Remove trailing whitespaces 2023-03-22 20:15:51 +00:00
Pablo Correa Gómez
80d7ac219d libdocument: Remove trailing whitespaces 2023-03-22 20:15:51 +00:00
Qiu Wenbo
48f4198625 libview: Remove trailing whitespaces
Signed-off-by: Qiu Wenbo <qiuwenbo@kylinos.com.cn>
Signed-off-by: Pablo Correa Gomez <ablocorrea@hotmail.com>
2023-03-22 20:15:51 +00:00
Qiu Wenbo
b46513ebb9 shell: Remove trailing whitespaces
Signed-off-by: Qiu Wenbo <qiuwenbo@kylinos.com.cn>
Signed-off-by: Pablo Correa Gomez <ablocorrea@hotmail.com>
2023-03-22 20:15:51 +00:00
Germán Poo-Caamaño
8cf2184d55 data: update maintainers list 2023-03-22 15:41:35 -03:00
Pablo Correa Gómez
76f9217433 ev-view-presentation: remove deprecated call to gtk_style_context_set_background
The draw function already calls gtk_render_background, making this
deprecated function unnecessary. This has no behavior change.
2023-03-22 15:46:43 +00:00
Pablo Correa Gómez
a618409311 ev-view: remove non-needed call to deprecated gtk_style_context_set_background
This was introduced in 17859243df with
the rationale:

Even if we now render a background in _draw() with
gtk_render_background, using gtk_style_context_set_background() in
realize makes the backing GdkWindow not being completely transparent,
which enables GTK to apply optimizations during the paint cycle.
The result is, especially in clutter-gtk applications such as Documents,
scrolling in a document page is much smoother.

https://bugzilla.gnome.org/show_bug.cgi?id=692988

Clutter was completely archived in GNOME 42 https://blogs.gnome.org/clutter/
so the rationale does no longer hold. Since the call is deprecated, just
remove it, as it is unncessary.
2023-03-22 15:46:43 +00:00
Germán Poo-Caamaño
64ef4464fd shell: Save settings automatically at closing a document
Remove 'Save curent settings as default` because it was confusing,
and a non-standard action in the desktop.

Save exactly the same settings once we know the document will be
closed, and when there is an actual document opened (e.g. not in
recent view).

Fixes #1138
2023-03-22 15:30:52 +00:00
Nelson Benítez León
4e56a2d63a ev-view: improve centering the page on scroll_to_page
When SCROLLING_TO_PAGE in a continuous view with
a FIT_PAGE sizing mode, let's center the page a
bit better so the next page is not visible.

Fixes #1868
Fixes #1905
2023-03-22 15:19:48 +00:00
Pablo Correa Gómez
fcded848ec ev-sidebar-annotations: Use composite template
This simplifies the GTK4 move. Now, instead of recreating the
models when the document changes from having to not having annotations,
simply store those models and change between them.

Coauthored-by: default avatarQiu Wenbo <qiuwenbo@kylinos.com.cn>
2023-03-22 14:59:10 +00:00
Germán Poo-Caamaño
a3d4cadef4 build: release version bump 2023-03-22 11:42:22 -03:00
Germán Poo-Caamaño
af541a15aa data: Update maintainers list 2023-03-22 11:41:42 -03:00
Germán Poo-Caamaño
0d1db319a5 data: Document settings keys 2023-03-22 11:26:20 -03:00
Germán Poo-Caamaño
d32ba32784 data: Remove unused show-toolbar setting from schema
Before Evince used GtkHeaderBar, there was a toolbar that was possible
to hide. That toolbar does not exist since it got intergrated into
the header bar.
2023-03-22 11:26:20 -03:00
Pablo Correa Gómez
2772e54384 meson: remove libhandy subproject
Partially reverts 2408fd4a4d

Fixes #1683
2023-03-22 13:41:48 +00:00
Germán Poo-Caamaño
3df556365c ci: Update pre-installed packages
* Add libhandy-1 as of now it should be available in at least one
  major version of the main distributions, and we are ready to
  remove libhandy-1 as subproject
* Update to a recent version of poppler
2023-03-22 10:13:18 -03:00
Piotr Drąg
a5718ae10d Update POTFILES.in 2023-03-21 17:35:34 +01:00
Pablo Correa Gómez
d1fad249c5 ev-backend-info: make private a function only used in the .c file 2023-03-21 03:39:05 +00:00
Pablo Correa Gómez
e365d0a01f backend: rename all mentions of appdata to metainfo 2023-03-20 22:28:49 -04:00
Pablo Correa Gómez
8a6786b00b org.gnome.Evince.metainfo: rename from appdata
The file shall be called metainfo, even though appdata is allowed
for backwards compatibility.

https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#spec-component-location
2023-03-20 22:28:47 -04:00
Pablo Correa Gómez
09279fedf2 appdata: use "~" in 44 RC release for it to be sorted correctly
Otherwise, it will sort after 44.0, and fail validation and CI
https://www.freedesktop.org/software/appstream/docs/chap-AppStream-Misc.html#sect-AppStream-Misc-VerCmp
2023-03-20 22:28:44 -04:00
Germán Poo-Caamaño
9912cf2cb5
Release 44.0 2023-03-18 10:35:30 +01:00
Marek Kasik
b3eb6cb641 ev-window-title: Avoid a crash caused by double free
Variable "title_header" of ev_window_title_update()
should not be freed at the end of the function as
it points to window_title->doc_title.
2023-03-14 21:22:04 +00:00
Aleksandr Melman
ccdd844bef Update Russian translation 2023-03-14 20:50:18 +00:00
Sergej A
8dbe2b69cc Update Russian translation 2023-03-14 20:37:36 +00:00
Nelson Benítez León
5627964418 sidebar-links: tweak 'Expand all under this element' item sensitivity
Two changes:

1) Same as with 'Print section' item, only enable it when
clicking over the selected path. This avoids confusion as
the user may previously doubt if the action was for the
selected path or the path under the mouse pointer.

2) Revert 'enabling only when the selected path has
grandchildren'. Avoids confusion as the user may doubt
why the action is disabled when there's an arrow to
expand the path. Now we only check if it has any child
to enable the action.
2023-03-12 11:31:09 -04:00
Nelson Benítez León
68ef94fcac leave outline search menu item always on
It's less confusing than enabling it
based on current selection.
2023-03-11 22:42:41 -04:00
Nelson Benítez León
68d7163431 fix double free of GtkEntryCompletion
It can be seen when closing Evince
after having used the Outline search.
2023-03-11 22:23:27 -04:00
Efstathios Iosifidis
658d1992a0 Update Greek translation
(cherry picked from commit f060de9853)
2023-03-11 19:29:53 +00:00