]> git.0d.be Git - empathy.git/commit
individual_menu_add_personas: add the block menu item, if needed
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 14 Dec 2011 11:54:37 +0000 (12:54 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 14 Dec 2011 12:24:04 +0000 (13:24 +0100)
commita5bde7ca2676d538c0534b7acaf72ec47005649b
treee0eaff2be38e68d479f8bdce88281a5e949190bb
parentfe992c09a3401012f17058a7e2571617591729fc
individual_menu_add_personas: add the block menu item, if needed

This allow user to select the personas he wants to block.

Note that I didn't pass an EmpathyContact as second argument to
empathy_individiual_block_menu_item_new() as we currently do with most
item_new() methods. Instead I just craft a new individual containing only the
persona we care about. This approach is much cleaner as we don't have to deal
with 2 different code paths. I filed bug #666163 to do the same with the
existing functions.

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