From f49fe289c91cfd8d79ca85e3b9e00f00a8e2ba27 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Thu, 14 Jun 2018 12:52:21 +0200 Subject: web-apps: rework web app utils to use an application id instead of its name This is in preparation to support changing the web application name. --- lib/ephy-settings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/ephy-settings.c') diff --git a/lib/ephy-settings.c b/lib/ephy-settings.c index 0b84e08c8..67a98d34a 100644 --- a/lib/ephy-settings.c +++ b/lib/ephy-settings.c @@ -48,7 +48,7 @@ ephy_settings_init (void) g_str_equal, g_free, g_object_unref); - web_app_name = g_strrstr (profile_directory, EPHY_WEB_APP_PREFIX); + web_app_name = strstr (profile_directory, EPHY_WEB_APP_PREFIX); if (web_app_name) base_path = g_build_path ("/", "/org/gnome/epiphany/web-apps/", web_app_name, NULL); else -- cgit v1.2.1