summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@redhat.com>2022-06-02 20:59:38 -0500
committerMichael Catanzaro <mcatanzaro@redhat.com>2022-06-02 20:59:38 -0500
commit8a2acb934ac9f4f3104b7471f0ce4517d51c90e3 (patch)
treecee64636479360a492fd0dcdd1e0ff64a476bdf3 /lib
parent3df4a7184203d601060980f819d04141ac03a3a2 (diff)
downloadepiphany-8a2acb934ac9f4f3104b7471f0ce4517d51c90e3.tar.gz
user-agent: don't bring back the "(Web App)"
Oops, didn't mean to restore this. It's just asking for trouble.
Diffstat (limited to 'lib')
-rw-r--r--lib/ephy-user-agent.c7
1 files changed, 1 insertions, 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;