aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-individual-menu.c
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2010-08-18 18:04:06 +0800
committerPhilip Withnall <philip.withnall@collabora.co.uk>2010-08-20 19:35:44 +0800
commit5fa714c470951e828f8dab44856b8cc2d4c30340 (patch)
tree5bdb4a3d07cd1a1fc399414c44412d512c67c8ea /libempathy-gtk/empathy-individual-menu.c
parente445d9d5b2781ef59e1a07e97853f232c94d0dc2 (diff)
downloadgsoc2013-empathy-5fa714c470951e828f8dab44856b8cc2d4c30340.tar
gsoc2013-empathy-5fa714c470951e828f8dab44856b8cc2d4c30340.tar.gz
gsoc2013-empathy-5fa714c470951e828f8dab44856b8cc2d4c30340.tar.bz2
gsoc2013-empathy-5fa714c470951e828f8dab44856b8cc2d4c30340.tar.lz
gsoc2013-empathy-5fa714c470951e828f8dab44856b8cc2d4c30340.tar.xz
gsoc2013-empathy-5fa714c470951e828f8dab44856b8cc2d4c30340.tar.zst
gsoc2013-empathy-5fa714c470951e828f8dab44856b8cc2d4c30340.zip
Add EmpathyIndividualEditDialog
This replaces the edit dialogue from empathy-contact-dialogs.c, and is now used from the EmpathyIndividualMenu. Closes: bgo#626544
Diffstat (limited to 'libempathy-gtk/empathy-individual-menu.c')
-rw-r--r--libempathy-gtk/empathy-individual-menu.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/libempathy-gtk/empathy-individual-menu.c b/libempathy-gtk/empathy-individual-menu.c
index e84312f61..99dea7382 100644
--- a/libempathy-gtk/empathy-individual-menu.c
+++ b/libempathy-gtk/empathy-individual-menu.c
@@ -43,6 +43,7 @@
#include "empathy-log-window.h"
#include "empathy-contact-dialogs.h"
#include "empathy-individual-dialogs.h"
+#include "empathy-individual-edit-dialog.h"
#include "empathy-individual-information-dialog.h"
#include "empathy-ui-utils.h"
#include "empathy-share-my-desktop.h"
@@ -760,12 +761,7 @@ empathy_individual_info_menu_item_new (FolksIndividual *individual)
static void
individual_edit_menu_item_activate_cb (FolksIndividual *individual)
{
- EmpathyContact *contact;
-
- contact = empathy_contact_dup_from_folks_individual (individual);
- empathy_contact_edit_dialog_show (contact, NULL);
-
- tp_clear_object (&contact);
+ empathy_individual_edit_dialog_show (individual, NULL);
}
GtkWidget *