aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-debug-dialog.c
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2009-04-20 09:12:06 +0800
committerJonny Lamb <jonny.lamb@collabora.co.uk>2009-04-24 08:52:48 +0800
commit828b3394316f42a6a451db1b541299cae516bcd9 (patch)
treefdfe2fea35f9f5b7ebc26071e0a1b0d3a6897413 /src/empathy-debug-dialog.c
parenta1a6d017403f00f39d34611d0890edb8cebf9389 (diff)
downloadgsoc2013-empathy-828b3394316f42a6a451db1b541299cae516bcd9.tar
gsoc2013-empathy-828b3394316f42a6a451db1b541299cae516bcd9.tar.gz
gsoc2013-empathy-828b3394316f42a6a451db1b541299cae516bcd9.tar.bz2
gsoc2013-empathy-828b3394316f42a6a451db1b541299cae516bcd9.tar.lz
gsoc2013-empathy-828b3394316f42a6a451db1b541299cae516bcd9.tar.xz
gsoc2013-empathy-828b3394316f42a6a451db1b541299cae516bcd9.tar.zst
gsoc2013-empathy-828b3394316f42a6a451db1b541299cae516bcd9.zip
Only set Enabled when we already have a proxy.
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'src/empathy-debug-dialog.c')
-rw-r--r--src/empathy-debug-dialog.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/empathy-debug-dialog.c b/src/empathy-debug-dialog.c
index ec9c9ddb8..c5d6dadea 100644
--- a/src/empathy-debug-dialog.c
+++ b/src/empathy-debug-dialog.c
@@ -241,7 +241,8 @@ debug_dialog_account_chooser_changed_cb (GtkComboBox *account_chooser,
}
/* Disable debug signalling */
- debug_dialog_set_enabled (debug_dialog, FALSE);
+ if (priv->proxy != NULL)
+ debug_dialog_set_enabled (debug_dialog, FALSE);
/* Disconnect from previous NewDebugMessage signal */
if (priv->signal_connection)