[epiphany] Only connect to the FormAuthDataSaveConfirmationRequired signal of the instance web extension



commit 5ee8725507606f342bbb4863f49e6af859648af4
Author: Carlos Garcia Campos <cgarcia igalia com>
Date:   Thu Apr 4 18:37:25 2013 +0200

    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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/embed/ephy-embed-shell.c b/embed/ephy-embed-shell.c
index e271059..9572e57 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,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]