From 63d5f0091b40210b6e72eae9d83d02b308899cf3 Mon Sep 17 00:00:00 2001 From: Jonny Lamb Date: Fri, 3 Dec 2010 13:04:04 +0000 Subject: auth-client: improve the password request dialog Signed-off-by: Jonny Lamb --- libempathy/empathy-server-sasl-handler.c | 10 +++++++++- libempathy/empathy-server-sasl-handler.h | 3 ++- 2 files changed, 11 insertions(+), 2 deletions(-) (limited to 'libempathy') diff --git a/libempathy/empathy-server-sasl-handler.c b/libempathy/empathy-server-sasl-handler.c index 5c78591ed..9f10a7921 100644 --- a/libempathy/empathy-server-sasl-handler.c +++ b/libempathy/empathy-server-sasl-handler.c @@ -241,7 +241,8 @@ start_mechanism_with_data_cb (TpChannel *proxy, void empathy_server_sasl_handler_provide_password ( EmpathyServerSASLHandler *handler, - const gchar *password) + const gchar *password, + gboolean remember) { EmpathyServerSASLHandlerPriv *priv; GArray *array; @@ -262,6 +263,13 @@ empathy_server_sasl_handler_provide_password ( NULL, NULL, G_OBJECT (handler)); g_array_unref (array); + + DEBUG ("%sremembering the password", remember ? "" : "not "); + + if (remember) + { + /* TODO */ + } } void diff --git a/libempathy/empathy-server-sasl-handler.h b/libempathy/empathy-server-sasl-handler.h index 47f49e2a4..cdedef90c 100644 --- a/libempathy/empathy-server-sasl-handler.h +++ b/libempathy/empathy-server-sasl-handler.h @@ -62,7 +62,8 @@ EmpathyServerSASLHandler * empathy_server_sasl_handler_new ( TpAccount *account, TpChannel *channel); void empathy_server_sasl_handler_provide_password ( - EmpathyServerSASLHandler *handler, const gchar *password); + EmpathyServerSASLHandler *handler, const gchar *password, + gboolean remember); void empathy_server_sasl_handler_cancel (EmpathyServerSASLHandler *handler); -- cgit v1.2.3