diff options
author | Jonny Lamb <jonnylamb@gnome.org> | 2010-12-03 21:04:04 +0800 |
---|---|---|
committer | Jonny Lamb <jonnylamb@gnome.org> | 2011-01-26 21:28:46 +0800 |
commit | 63d5f0091b40210b6e72eae9d83d02b308899cf3 (patch) | |
tree | 3bb08a8e8075961ee482cb2fa29ac6dbbe49ad47 /libempathy | |
parent | bde7600cd918d7654667f0543b2fc904b8a79680 (diff) | |
download | gsoc2013-empathy-63d5f0091b40210b6e72eae9d83d02b308899cf3.tar gsoc2013-empathy-63d5f0091b40210b6e72eae9d83d02b308899cf3.tar.gz gsoc2013-empathy-63d5f0091b40210b6e72eae9d83d02b308899cf3.tar.bz2 gsoc2013-empathy-63d5f0091b40210b6e72eae9d83d02b308899cf3.tar.lz gsoc2013-empathy-63d5f0091b40210b6e72eae9d83d02b308899cf3.tar.xz gsoc2013-empathy-63d5f0091b40210b6e72eae9d83d02b308899cf3.tar.zst gsoc2013-empathy-63d5f0091b40210b6e72eae9d83d02b308899cf3.zip |
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); |