[epiphany] user-agent: don't bring back the "(Web App)"
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] user-agent: don't bring back the "(Web App)"
- Date: Fri, 3 Jun 2022 02:00:10 +0000 (UTC)
commit 8a2acb934ac9f4f3104b7471f0ce4517d51c90e3
Author: Michael Catanzaro <mcatanzaro redhat com>
Date: Thu Jun 2 20:59:38 2022 -0500
user-agent: don't bring back the "(Web App)"
Oops, didn't mean to restore this. It's just asking for trouble.
lib/ephy-user-agent.c | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
---
diff --git a/lib/ephy-user-agent.c b/lib/ephy-user-agent.c
index 52cbc8282..4c8c93705 100644
--- a/lib/ephy-user-agent.c
+++ b/lib/ephy-user-agent.c
@@ -31,7 +31,6 @@ ephy_user_agent_get (void)
{
static char *user_agent = NULL;
WebKitSettings *settings;
- gboolean web_app;
if (user_agent)
return user_agent;
@@ -43,12 +42,8 @@ ephy_user_agent_get (void)
g_free (user_agent);
}
- web_app = ephy_profile_dir_is_web_application ();
-
settings = webkit_settings_new ();
- user_agent = g_strdup_printf ("%s%s",
- webkit_settings_get_user_agent (settings),
- web_app ? " (Web App)" : "");
+ user_agent = g_strdup (webkit_settings_get_user_agent (settings));
g_object_unref (settings);
return user_agent;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]