Dominique Leuenberger
66b57b3842
Add upstream bug fix patches OBS-URL: https://build.opensuse.org/request/show/661682 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/epiphany?expand=0&rev=305
27 lines
887 B
Diff
27 lines
887 B
Diff
From 26d9b288244e5d5e715bcf860b0a200989ecc02d Mon Sep 17 00:00:00 2001
|
|
From: Michael Catanzaro <mcatanzaro@igalia.com>
|
|
Date: Sun, 16 Dec 2018 14:40:27 -0600
|
|
Subject: [PATCH] Fix saving web app icons when changed
|
|
|
|
From 64a3330ced0ac6fe34b57d09a525e31cb30c350e
|
|
---
|
|
lib/ephy-web-app-utils.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/lib/ephy-web-app-utils.c b/lib/ephy-web-app-utils.c
|
|
index 422519424..94abf9bda 100644
|
|
--- a/lib/ephy-web-app-utils.c
|
|
+++ b/lib/ephy-web-app-utils.c
|
|
@@ -726,7 +726,7 @@ ephy_web_application_save (EphyWebApplication *app)
|
|
g_free (name);
|
|
|
|
icon = g_key_file_get_string (key, "Desktop Entry", "Icon", NULL);
|
|
- if (g_strcmp0 (name, app->icon_url) != 0) {
|
|
+ if (g_strcmp0 (icon, app->icon_url) != 0) {
|
|
changed = TRUE;
|
|
g_key_file_set_string (key, "Desktop Entry", "Icon", app->icon_url);
|
|
}
|
|
--
|
|
2.18.1
|
|
|