aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorCarlos Garcia Campos <cgarcia@igalia.com>2013-04-05 00:37:25 +0800
committerCarlos Garcia Campos <carlosgc@gnome.org>2013-04-06 00:58:01 +0800
commit5ee8725507606f342bbb4863f49e6af859648af4 (patch)
tree8d889cf7ed75c64c0c8dc5ad5c632c435c86cb28 /embed
parenta2181b928e5a0f6d27487859fe86a276c1eed25c (diff)
downloadgsoc2013-epiphany-5ee8725507606f342bbb4863f49e6af859648af4.tar
gsoc2013-epiphany-5ee8725507606f342bbb4863f49e6af859648af4.tar.gz
gsoc2013-epiphany-5ee8725507606f342bbb4863f49e6af859648af4.tar.bz2
gsoc2013-epiphany-5ee8725507606f342bbb4863f49e6af859648af4.tar.lz
gsoc2013-epiphany-5ee8725507606f342bbb4863f49e6af859648af4.tar.xz
gsoc2013-epiphany-5ee8725507606f342bbb4863f49e6af859648af4.tar.zst
gsoc2013-epiphany-5ee8725507606f342bbb4863f49e6af859648af4.zip
Only connect to the FormAuthDataSaveConfirmationRequired signal of the instance web extension
To make sure we are only notified when our web extension requires to ask the user to store credentials. Otherwise when a web extension emits the signal all epiphany instances show the info bar asking the user whether to store credentials or not. https://bugzilla.gnome.org/show_bug.cgi?id=697255
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-embed-shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/ephy-embed-shell.c b/embed/ephy-embed-shell.c
index e27105991..9572e5720 100644
--- a/embed/ephy-embed-shell.c
+++ b/embed/ephy-embed-shell.c
@@ -141,7 +141,7 @@ web_extension_proxy_created_cb (GDBusProxy *proxy,
} else {
shell->priv->web_extension_form_auth_save_signal_id =
g_dbus_connection_signal_subscribe (g_dbus_proxy_get_connection (shell->priv->web_extension),
- NULL,
+ g_dbus_proxy_get_name (shell->priv->web_extension),
EPHY_WEB_EXTENSION_INTERFACE,
"FormAuthDataSaveConfirmationRequired",
EPHY_WEB_EXTENSION_OBJECT_PATH,