aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-new-chatroom-dialog.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2007-07-26 22:27:45 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2007-07-26 22:27:45 +0800
commitbc51bf4283ead42b56ddcd174d3273b446ac4aa4 (patch)
tree0c13a5b7b0cc6e8a678db595e6b79eb2d46ffa25 /libempathy-gtk/empathy-new-chatroom-dialog.c
parent7907c710253ba70cf1b3f475a1f7be79d0e3f546 (diff)
downloadgsoc2013-empathy-bc51bf4283ead42b56ddcd174d3273b446ac4aa4.tar
gsoc2013-empathy-bc51bf4283ead42b56ddcd174d3273b446ac4aa4.tar.gz
gsoc2013-empathy-bc51bf4283ead42b56ddcd174d3273b446ac4aa4.tar.bz2
gsoc2013-empathy-bc51bf4283ead42b56ddcd174d3273b446ac4aa4.tar.lz
gsoc2013-empathy-bc51bf4283ead42b56ddcd174d3273b446ac4aa4.tar.xz
gsoc2013-empathy-bc51bf4283ead42b56ddcd174d3273b446ac4aa4.tar.zst
gsoc2013-empathy-bc51bf4283ead42b56ddcd174d3273b446ac4aa4.zip
Do not show salut accounts in the add contact dialog. Rework a bit
2007-07-26 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-account-chooser.c: * libempathy-gtk/empathy-new-chatroom-dialog.c: * libempathy-gtk/empathy-account-chooser.h: * libempathy-gtk/empathy-contact-dialogs.c: * libempathy-gtk/empathy-chatrooms-window.c: * libempathy-gtk/empathy-contact-widget.c: * libempathy-gtk/empathy-contact-widget.h: * libempathy-gtk/empathy-log-window.c: * doc/*: Do not show salut accounts in the add contact dialog. Rework a bit EmpathyContactWidget. Fixes bug #459100 (Guillaume Desmottes, Xavier Claessens). svn path=/trunk/; revision=197
Diffstat (limited to 'libempathy-gtk/empathy-new-chatroom-dialog.c')
-rw-r--r--libempathy-gtk/empathy-new-chatroom-dialog.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-new-chatroom-dialog.c b/libempathy-gtk/empathy-new-chatroom-dialog.c
index 6194fb294..1c84c70bd 100644
--- a/libempathy-gtk/empathy-new-chatroom-dialog.c
+++ b/libempathy-gtk/empathy-new-chatroom-dialog.c
@@ -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);