[empathy] Unsensitive roomlist expander if roomlist is not supported (#614002)



commit c9c1f10a1684e62f9e628974206578bb2f79ace3
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Fri Mar 26 12:53:07 2010 +0100

    Unsensitive roomlist expander if roomlist is not supported (#614002)

 src/empathy-new-chatroom-dialog.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy-new-chatroom-dialog.c b/src/empathy-new-chatroom-dialog.c
index d4302dc..11bf083 100644
--- a/src/empathy-new-chatroom-dialog.c
+++ b/src/empathy-new-chatroom-dialog.c
@@ -549,6 +549,8 @@ new_chatroom_dialog_account_changed_cb (GtkComboBox             *combobox,
 		}
 	}
 
+	gtk_widget_set_sensitive (dialog->expander_browse, dialog->room_list != NULL);
+
 out:
 	new_chatroom_dialog_update_widgets (dialog);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]