summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2014-06-23 15:33:11 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2014-06-23 15:36:25 +0200
commita2a7b6ecc313022e4e0904651ba4b27ae83ca293 (patch)
tree466886f3cfe8ae3b44f651da856f3ed0b98ef11b
parent1f9230409b3e8bdba369a994102b53a9e591ba6e (diff)
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.c14
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);