aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-12-08 16:52:15 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-12-08 16:52:15 +0800
commit2c785c36c5b8aa4581121f336fc7313da7c2fc92 (patch)
tree35c3f08708a322c3d97c393bc000b115b5f06937
parente95d1c1f58618c3cfd89232ab2997bbeda215c8a (diff)
downloadgsoc2013-empathy-2c785c36c5b8aa4581121f336fc7313da7c2fc92.tar
gsoc2013-empathy-2c785c36c5b8aa4581121f336fc7313da7c2fc92.tar.gz
gsoc2013-empathy-2c785c36c5b8aa4581121f336fc7313da7c2fc92.tar.bz2
gsoc2013-empathy-2c785c36c5b8aa4581121f336fc7313da7c2fc92.tar.lz
gsoc2013-empathy-2c785c36c5b8aa4581121f336fc7313da7c2fc92.tar.xz
gsoc2013-empathy-2c785c36c5b8aa4581121f336fc7313da7c2fc92.tar.zst
gsoc2013-empathy-2c785c36c5b8aa4581121f336fc7313da7c2fc92.zip
auth-client: add some more debugging
I'm trying to understand what's going wrong in bug #665542 and having more debugging would help.
-rw-r--r--libempathy/empathy-keyring.c2
-rw-r--r--src/empathy-auth-client.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/libempathy/empathy-keyring.c b/libempathy/empathy-keyring.c
index 3a5f6dc73..e63ed12df 100644
--- a/libempathy/empathy-keyring.c
+++ b/libempathy/empathy-keyring.c
@@ -78,7 +78,7 @@ find_items_cb (GnomeKeyringResult result,
* modified or something but we don't have this information from
* gnome-keyring atm. */
found = list->data;
- DEBUG ("Got secret");
+ DEBUG ("Got %d secrets; use the first one", g_list_length (list));
g_simple_async_result_set_op_res_gpointer (simple, g_strdup (found->secret),
g_free);
diff --git a/src/empathy-auth-client.c b/src/empathy-auth-client.c
index 5b3e48ce8..22a625229 100644
--- a/src/empathy-auth-client.c
+++ b/src/empathy-auth-client.c
@@ -231,6 +231,8 @@ auth_factory_new_sasl_handler_cb (EmpathyAuthFactory *factory,
/* If the handler has the password it will deal with it itself. */
if (!empathy_server_sasl_handler_has_password (handler))
{
+ DEBUG ("SASL handler doesn't have a password, prompt for one");
+
dialog = empathy_password_dialog_new (handler);
gtk_widget_show (dialog);
}