diff options
author | Jonny Lamb <jonnylamb@gnome.org> | 2010-12-03 13:04:04 +0000 |
---|---|---|
committer | Jonny Lamb <jonnylamb@gnome.org> | 2010-12-03 13:04:04 +0000 |
commit | fd337e4163b26ea7e284473817a1d17946ab12d4 (patch) | |
tree | 108f20b15091187888f2e70da3d4b8ca34ef321e /libempathy | |
parent | 2b5028d1ec652a136f30d7b3955562a6a07f9f42 (diff) |
auth-client: improve the password request dialog
Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
Diffstat (limited to 'libempathy')
-rw-r--r-- | libempathy/empathy-server-sasl-handler.c | 10 | ||||
-rw-r--r-- | libempathy/empathy-server-sasl-handler.h | 3 |
2 files changed, 11 insertions, 2 deletions
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); |