]> git.0d.be Git - empathy.git/commit
individual-menu: use the proper persona in submenus
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 23 Jun 2014 13:10:17 +0000 (15:10 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 23 Jun 2014 13:36:25 +0000 (15:36 +0200)
commit1f9230409b3e8bdba369a994102b53a9e591ba6e
tree3e24afd1c3e3c444bffb53e1313f9a532b26b297
parentad1b40b1d31b4c612a94736f27072baab4ac1364
individual-menu: use the proper persona in submenus

'single_individual' uses to be a FolksIndivudal containing a single persona
(the one from the submenu) ensuring that operations (chat, call, etc) were
performed on this very persona.

But we broke this in 0909d1f884c4542553d98b18e7622664d2a02169 by replacing the
empathy_create_individual_from_tp_contact() call by
empathy_ensure_individual_from_tp_contact() as the same individuals (the one
will all the personas) was now used in all the sub menus.

Fixing this by introducing 'contact' variant of the menu_item_new methods
which is always cleaner.

https://bugzilla.gnome.org/show_bug.cgi?id=732100
libempathy-gtk/empathy-individual-menu.c