[epiphany/gnome-3-8] Only connect to the FormAuthDataSaveConfirmationRequired signal of the instance web extension



commit 42dae23ebd2e0c592cefbd466bccc83d6e689ffc
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 b775075..da03efe 100644
--- a/embed/ephy-embed-shell.c
+++ b/embed/ephy-embed-shell.c
@@ -174,7 +174,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]