aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2010-03-02 19:17:35 +0800
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2010-03-02 19:17:35 +0800
commit9a9ce40c7f0a6e5fc19e035dba5c1812a9d4434a (patch)
treee595f83bce064f9075688735dbe1c89a443bc1dc /src
parent7210d151056d3c0a1b0469f7af1aee06b7805538 (diff)
downloadgsoc2013-empathy-9a9ce40c7f0a6e5fc19e035dba5c1812a9d4434a.tar
gsoc2013-empathy-9a9ce40c7f0a6e5fc19e035dba5c1812a9d4434a.tar.gz
gsoc2013-empathy-9a9ce40c7f0a6e5fc19e035dba5c1812a9d4434a.tar.bz2
gsoc2013-empathy-9a9ce40c7f0a6e5fc19e035dba5c1812a9d4434a.tar.lz
gsoc2013-empathy-9a9ce40c7f0a6e5fc19e035dba5c1812a9d4434a.tar.xz
gsoc2013-empathy-9a9ce40c7f0a6e5fc19e035dba5c1812a9d4434a.tar.zst
gsoc2013-empathy-9a9ce40c7f0a6e5fc19e035dba5c1812a9d4434a.zip
Improve debugging and don't use g_debug
Diffstat (limited to 'src')
-rw-r--r--src/empathy-accounts-common.c2
-rw-r--r--src/empathy-accounts-dialog.c5
-rw-r--r--src/empathy.c1
3 files changed, 6 insertions, 2 deletions
diff --git a/src/empathy-accounts-common.c b/src/empathy-accounts-common.c
index 3032e065e..334f3cba8 100644
--- a/src/empathy-accounts-common.c
+++ b/src/empathy-accounts-common.c
@@ -123,7 +123,7 @@ connection_managers_prepare_for_accounts (GObject *source,
goto out;
show_account_assistant (cm_mgr, assistant_destroy_cb);
- g_debug ("would show the account assistant");
+ DEBUG ("would show the account assistant");
out:
g_object_unref (cm_mgr);
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index c300065f9..b2e21dc8d 100644
--- a/src/empathy-accounts-dialog.c
+++ b/src/empathy-accounts-dialog.c
@@ -2271,6 +2271,11 @@ empathy_accounts_dialog_show_application (GdkScreen *screen,
if (hidden)
argv[i++] = "--hidden";
+ DEBUG ("Launching empathy-accounts (if_needed: %d, hidden: %d, account: %s)",
+ if_needed, hidden,
+ selected_account == NULL ? "<none selected>" :
+ tp_proxy_get_object_path (TP_PROXY (selected_account)));
+
gdk_spawn_on_screen (screen, NULL, argv, NULL,
G_SPAWN_SEARCH_PATH | G_SPAWN_DO_NOT_REAP_CHILD, NULL, NULL,
&command_pid, &error);
diff --git a/src/empathy.c b/src/empathy.c
index b0c731a4b..2dc62943e 100644
--- a/src/empathy.c
+++ b/src/empathy.c
@@ -256,7 +256,6 @@ static void
show_accounts_ui (GdkScreen *screen,
gboolean if_needed)
{
- g_debug ("launching accounts UI");
empathy_accounts_dialog_show_application (screen,
accounts_application_exited_cb, NULL, NULL, if_needed, start_hidden);
}