]> git.0d.be Git - empathy.git/blobdiff - libempathy-gtk/empathy-new-chatroom-dialog.c
Do not show salut accounts in the add contact dialog. Rework a bit
[empathy.git] / libempathy-gtk / empathy-new-chatroom-dialog.c
index 6194fb2946649b74d54489e330d0a3f66bfd5885..1c84c70bd3206cc5d48e522ed8c9e76bf938a206 100644 (file)
@@ -185,6 +185,9 @@ empathy_new_chatroom_dialog_show (GtkWindow *parent)
 
        /* Account chooser for custom */
        dialog->account_chooser = empathy_account_chooser_new ();
+       empathy_account_chooser_set_filter (EMPATHY_ACCOUNT_CHOOSER (dialog->account_chooser),
+                                           empathy_account_chooser_filter_is_connected,
+                                           NULL);
        gtk_table_attach_defaults (GTK_TABLE (dialog->table_info),
                                   dialog->account_chooser,
                                   1, 3, 0, 1);