[eog/gnome-41] Fix discovery of Evince for multi-page images
- From: Felix Riemann <friemann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog/gnome-41] Fix discovery of Evince for multi-page images
- Date: Sat, 19 Mar 2022 19:41:36 +0000 (UTC)
commit 82f8cccbd5b49c788855ad5086a15af7b4cfc4e6
Author: Krifa75 <yahiaoui fakhri gmail com>
Date: Wed Mar 16 18:17:51 2022 +0000
Fix discovery of Evince for multi-page images
Replace "evince.desktop" with "org.gnome.Evince.desktop".
Otherwise the button to open multi-page files in Evince is never shown.
(cherry picked from commit 4dcd51f2d6dc7225178d71bd8e92a3b84b544b91)
See merge request !129
src/eog-error-message-area.c | 2 +-
src/eog-window.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/eog-error-message-area.c b/src/eog-error-message-area.c
index 70618d88..f6bec0ac 100644
--- a/src/eog-error-message-area.c
+++ b/src/eog-error-message-area.c
@@ -326,7 +326,7 @@ _check_evince_availability(gpointer data)
gboolean result = FALSE;
GDesktopAppInfo *app_info;
- app_info = g_desktop_app_info_new ("evince.desktop");
+ app_info = g_desktop_app_info_new ("org.gnome.Evince.desktop");
if (app_info) {
result = TRUE;
g_object_unref (app_info);
diff --git a/src/eog-window.c b/src/eog-window.c
index c831a165..97c8aeec 100644
--- a/src/eog-window.c
+++ b/src/eog-window.c
@@ -1337,7 +1337,7 @@ eog_window_error_message_area_response (GtkInfoBar *message_area,
GFile *img_file;
GList *img_files = NULL;
- app_info = g_desktop_app_info_new ("evince.desktop");
+ app_info = g_desktop_app_info_new ("org.gnome.Evince.desktop");
if (app_info) {
img_file = eog_image_get_file (window->priv->image);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]