[gthumb] store passwords in the default keyring



commit 9d37294fccb9f1a8bd5667b6235a187e58a15411
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sat Apr 10 10:55:44 2010 +0200

    store passwords in the default keyring

 extensions/facebook/facebook-authentication.c    |    2 +-
 extensions/flicker/flickr-authentication.c       |    2 +-
 extensions/picasaweb/dlg-export-to-picasaweb.c   |    2 +-
 extensions/picasaweb/dlg-import-from-picasaweb.c |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/extensions/facebook/facebook-authentication.c b/extensions/facebook/facebook-authentication.c
index 7aab518..17d088b 100644
--- a/extensions/facebook/facebook-authentication.c
+++ b/extensions/facebook/facebook-authentication.c
@@ -433,7 +433,7 @@ get_session_ready_cb (GObject      *source_object,
 				      facebook_connection_get_secret (self->priv->conn),
 				      NULL);
 		gnome_keyring_store_password (GNOME_KEYRING_NETWORK_PASSWORD,
-					      GNOME_KEYRING_SESSION,
+					      NULL,
 					      "Facebook",
 					      secret,
 					      store_password_done_cb,
diff --git a/extensions/flicker/flickr-authentication.c b/extensions/flicker/flickr-authentication.c
index 90f6c30..e2ee867 100644
--- a/extensions/flicker/flickr-authentication.c
+++ b/extensions/flicker/flickr-authentication.c
@@ -370,7 +370,7 @@ connection_token_ready_cb (GObject      *source_object,
 #ifdef HAVE_GNOME_KEYRING
 	if (gnome_keyring_is_available ()) {
 		gnome_keyring_store_password (GNOME_KEYRING_NETWORK_PASSWORD,
-					      GNOME_KEYRING_SESSION,
+					      NULL,
 					      self->priv->conn->server->name,
 					      flickr_connection_get_auth_token (self->priv->conn),
 					      store_password_done_cb,
diff --git a/extensions/picasaweb/dlg-export-to-picasaweb.c b/extensions/picasaweb/dlg-export-to-picasaweb.c
index f420391..f34c00b 100644
--- a/extensions/picasaweb/dlg-export-to-picasaweb.c
+++ b/extensions/picasaweb/dlg-export-to-picasaweb.c
@@ -345,7 +345,7 @@ connection_ready_cb (GObject      *source_object,
 #ifdef HAVE_GNOME_KEYRING
 	if (gnome_keyring_is_available ()) {
 		gnome_keyring_store_password (GNOME_KEYRING_NETWORK_PASSWORD,
-					      GNOME_KEYRING_SESSION,
+					      NULL,
 					      _("Picasa Web Album"),
 					      data->password,
 					      store_password_done_cb,
diff --git a/extensions/picasaweb/dlg-import-from-picasaweb.c b/extensions/picasaweb/dlg-import-from-picasaweb.c
index 5919eb8..5108896 100644
--- a/extensions/picasaweb/dlg-import-from-picasaweb.c
+++ b/extensions/picasaweb/dlg-import-from-picasaweb.c
@@ -367,7 +367,7 @@ connection_ready_cb (GObject      *source_object,
 #ifdef HAVE_GNOME_KEYRING
 	if (gnome_keyring_is_available ()) {
 		gnome_keyring_store_password (GNOME_KEYRING_NETWORK_PASSWORD,
-					      GNOME_KEYRING_SESSION,
+					      NULL,
 					      _("Picasa Web Album"),
 					      data->password,
 					      store_password_done_cb,



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