[empathy: 11/53] Only set Enabled when we already have a proxy.
- From: Jonny Lamb <jonnylamb src gnome org>
- To: svn-commits-list gnome org
- Subject: [empathy: 11/53] Only set Enabled when we already have a proxy.
- Date: Thu, 4 Jun 2009 12:15:58 -0400 (EDT)
commit 828b3394316f42a6a451db1b541299cae516bcd9
Author: Jonny Lamb <jonny lamb collabora co uk>
Date: Mon Apr 20 02:12:06 2009 +0100
Only set Enabled when we already have a proxy.
Signed-off-by: Jonny Lamb <jonny lamb collabora co uk>
---
src/empathy-debug-dialog.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/empathy-debug-dialog.c b/src/empathy-debug-dialog.c
index ec9c9dd..c5d6dad 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]