aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-chatrooms-window.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-chatrooms-window.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-chatrooms-window.c')
-rw-r--r--libempathy-gtk/empathy-chatrooms-window.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-chatrooms-window.c b/libempathy-gtk/empathy-chatrooms-window.c
index 390fff42e..9a0d125ed 100644
--- a/libempathy-gtk/empathy-chatrooms-window.c
+++ b/libempathy-gtk/empathy-chatrooms-window.c
@@ -151,9 +151,11 @@ empathy_chatrooms_window_show (GtkWindow *parent)
/* Account chooser for chat rooms */
window->account_chooser = empathy_account_chooser_new ();
+ empathy_account_chooser_set_filter (EMPATHY_ACCOUNT_CHOOSER (window->account_chooser),
+ empathy_account_chooser_filter_is_connected,
+ NULL);
empathy_account_chooser_set_account (EMPATHY_ACCOUNT_CHOOSER (window->account_chooser), NULL);
g_object_set (window->account_chooser,
- "can-select-all", TRUE,
"has-all-option", TRUE,
NULL);