[epiphany] Fix user agent construction after previous "simplification"
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Fix user agent construction after previous "simplification"
- Date: Sat, 4 Jun 2016 00:04:36 +0000 (UTC)
commit b011e03c5f52e403c23999e8c06c67b02c235b93
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Fri Jun 3 18:56:09 2016 -0500
Fix user agent construction after previous "simplification"
Oops.
embed/ephy-embed-prefs.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/embed/ephy-embed-prefs.c b/embed/ephy-embed-prefs.c
index c39fef9..0c8c574 100644
--- a/embed/ephy-embed-prefs.c
+++ b/embed/ephy-embed-prefs.c
@@ -200,6 +200,8 @@ webkit_pref_callback_user_agent (GSettings *settings,
if (ephy_embed_shell_get_mode (shell) == EPHY_EMBED_SHELL_MODE_APPLICATION)
user_agent = g_strdup_printf ("%s (WebappShell)", internal_user_agent);
+ else
+ user_agent = g_strdup (internal_user_agent);
webkit_settings_set_user_agent (webkit_settings, user_agent);
g_free (user_agent);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]