]> git.0d.be Git - empathy.git/commitdiff
Unsensitive roomlist expander if roomlist is not supported (#614002)
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Fri, 26 Mar 2010 11:53:07 +0000 (12:53 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 30 Mar 2010 09:20:59 +0000 (11:20 +0200)
src/empathy-new-chatroom-dialog.c

index d4302dc555630b4645254bfcc34bc9d12ad72db5..11bf0835c30de2059142e03720c7078cac38f881 100644 (file)
@@ -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);
 }