[empathy] individual-menu: remove 'block' item from personas sub menus
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] individual-menu: remove 'block' item from personas sub menus
- Date: Mon, 23 Jun 2014 15:18:38 +0000 (UTC)
commit a2a7b6ecc313022e4e0904651ba4b27ae83ca293
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Mon Jun 23 15:33:11 2014 +0200
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
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 ae489a7..3c3cb56 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]