From 5ba8e4047cf01d47781db85b2c400e67b84026a9 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Tue, 1 Jan 2008 22:10:22 +0000 Subject: Add a remove option to delete a contact group. Fixes bug #459520 (David Turner). svn path=/trunk/; revision=528 --- libempathy-gtk/empathy-contact-list-view.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libempathy-gtk/empathy-contact-list-view.c') diff --git a/libempathy-gtk/empathy-contact-list-view.c b/libempathy-gtk/empathy-contact-list-view.c index 498d88721..6e5ab8536 100644 --- a/libempathy-gtk/empathy-contact-list-view.c +++ b/libempathy-gtk/empathy-contact-list-view.c @@ -261,6 +261,7 @@ static const gchar *ui_info = " " " " " " + " " " " ""; @@ -1426,6 +1427,12 @@ contact_list_view_action_cb (GtkAction *action, } else if (group && strcmp (name, "Rename") == 0) { } + else if (group && strcmp (name, "Remove") == 0) { + EmpathyContactList *list; + + list = empathy_contact_list_store_get_list_iface (priv->store); + empathy_contact_list_remove_group (list, group); + } g_free (group); if (contact) { -- cgit v1.2.3