From 5ee8725507606f342bbb4863f49e6af859648af4 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Thu, 4 Apr 2013 18:37:25 +0200 Subject: 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 --- embed/ephy-embed-shell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit v1.2.3