diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-03-13 01:06:10 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-03-15 17:18:01 +0800 |
commit | f75ecac41ace8d80c9253e3f16fc5e068885a1f0 (patch) | |
tree | 241c759e73bcbdf7eb40bd65e0a915a16c266111 /src/empathy-invite-participant-dialog.c | |
parent | e1e6e92bae0eac67637b06eca8860a88d29bd8b7 (diff) | |
download | gsoc2013-empathy-f75ecac41ace8d80c9253e3f16fc5e068885a1f0.tar gsoc2013-empathy-f75ecac41ace8d80c9253e3f16fc5e068885a1f0.tar.gz gsoc2013-empathy-f75ecac41ace8d80c9253e3f16fc5e068885a1f0.tar.bz2 gsoc2013-empathy-f75ecac41ace8d80c9253e3f16fc5e068885a1f0.tar.lz gsoc2013-empathy-f75ecac41ace8d80c9253e3f16fc5e068885a1f0.tar.xz gsoc2013-empathy-f75ecac41ace8d80c9253e3f16fc5e068885a1f0.tar.zst gsoc2013-empathy-f75ecac41ace8d80c9253e3f16fc5e068885a1f0.zip |
invite-participant-dialog: filter contacts by account
We can't invite contacts from other accounts so we shouldn't display them
(#612718).
Diffstat (limited to 'src/empathy-invite-participant-dialog.c')
-rw-r--r-- | src/empathy-invite-participant-dialog.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/empathy-invite-participant-dialog.c b/src/empathy-invite-participant-dialog.c index 70332d1ff..77fb93738 100644 --- a/src/empathy-invite-participant-dialog.c +++ b/src/empathy-invite-participant-dialog.c @@ -52,9 +52,12 @@ empathy_invite_participant_dialog_init (EmpathyInviteParticipantDialog *self) } GtkWidget * -empathy_invite_participant_dialog_new (GtkWindow *parent) +empathy_invite_participant_dialog_new (GtkWindow *parent, + TpAccount *account) { - GtkWidget *self = g_object_new (EMPATHY_TYPE_INVITE_PARTICIPANT_DIALOG, NULL); + GtkWidget *self = g_object_new (EMPATHY_TYPE_INVITE_PARTICIPANT_DIALOG, + "filter-account", account, + NULL); if (parent != NULL) { |