diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2014-06-23 21:33:11 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2014-06-23 21:36:25 +0800 |
commit | a2a7b6ecc313022e4e0904651ba4b27ae83ca293 (patch) | |
tree | 466886f3cfe8ae3b44f651da856f3ed0b98ef11b | |
parent | 1f9230409b3e8bdba369a994102b53a9e591ba6e (diff) | |
download | gsoc2013-empathy-a2a7b6ecc313022e4e0904651ba4b27ae83ca293.tar.gz gsoc2013-empathy-a2a7b6ecc313022e4e0904651ba4b27ae83ca293.tar.zst gsoc2013-empathy-a2a7b6ecc313022e4e0904651ba4b27ae83ca293.zip |
individual-menu: remove 'block' item from personas sub menus
Blocking a specific persona from an individual is a very uncommon operation.
Either you want to block the full individual or the personas shouldn't be
linked together.
There is not much point cluttering the menu with it.
https://bugzilla.gnome.org/show_bug.cgi?id=732100
-rw-r--r-- | libempathy-gtk/empathy-individual-menu.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/libempathy-gtk/empathy-individual-menu.c b/libempathy-gtk/empathy-individual-menu.c index ae489a77a..3c3cb5646 100644 --- a/libempathy-gtk/empathy-individual-menu.c +++ b/libempathy-gtk/empathy-individual-menu.c @@ -255,20 +255,6 @@ individual_menu_add_personas (EmpathyIndividualMenu *self, gtk_menu_shell_append (GTK_MENU_SHELL (contact_submenu), action); gtk_widget_show (action); - /* Block */ - if (features & EMPATHY_INDIVIDUAL_FEATURE_BLOCK && - (item = block_menu_item_new_individual (single_individual)) - != NULL) { - GtkWidget *sep; - - sep = gtk_separator_menu_item_new (); - gtk_menu_shell_append (GTK_MENU_SHELL (contact_submenu), sep); - gtk_widget_show (sep); - - gtk_menu_shell_append (GTK_MENU_SHELL (contact_submenu), item); - gtk_widget_show (item); - } - gtk_menu_shell_append (GTK_MENU_SHELL (menu), contact_item); gtk_widget_show (contact_item); |