aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-log-window.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-07-11 16:47:24 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-07-11 17:34:56 +0800
commit15b0acdc8cec7794f1112b243b2fadd3baf6a707 (patch)
tree3f253db51fe8afe6552b080f6303279faebf8225 /libempathy-gtk/empathy-log-window.c
parent634a85b3d20ef79e77069ef93e4c9a6f45a12cf8 (diff)
downloadgsoc2013-empathy-15b0acdc8cec7794f1112b243b2fadd3baf6a707.tar
gsoc2013-empathy-15b0acdc8cec7794f1112b243b2fadd3baf6a707.tar.gz
gsoc2013-empathy-15b0acdc8cec7794f1112b243b2fadd3baf6a707.tar.bz2
gsoc2013-empathy-15b0acdc8cec7794f1112b243b2fadd3baf6a707.tar.lz
gsoc2013-empathy-15b0acdc8cec7794f1112b243b2fadd3baf6a707.tar.xz
gsoc2013-empathy-15b0acdc8cec7794f1112b243b2fadd3baf6a707.tar.zst
gsoc2013-empathy-15b0acdc8cec7794f1112b243b2fadd3baf6a707.zip
log-window: use empathy_display_individual_info()
https://bugzilla.gnome.org/show_bug.cgi?id=679111
Diffstat (limited to 'libempathy-gtk/empathy-log-window.c')
-rw-r--r--libempathy-gtk/empathy-log-window.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/libempathy-gtk/empathy-log-window.c b/libempathy-gtk/empathy-log-window.c
index dec7b3713..ff274a6aa 100644
--- a/libempathy-gtk/empathy-log-window.c
+++ b/libempathy-gtk/empathy-log-window.c
@@ -51,7 +51,7 @@
#include "empathy-log-window.h"
#include "empathy-account-chooser.h"
#include "empathy-call-utils.h"
-#include "empathy-contact-dialogs.h"
+#include "empathy-individual-information-dialog.h"
#include "empathy-images.h"
#include "empathy-theme-manager.h"
#include "empathy-ui-utils.h"
@@ -319,11 +319,17 @@ static void
toolbutton_profile_clicked (GtkToolButton *toolbutton,
EmpathyLogWindow *self)
{
+ FolksIndividual *individual;
+
g_return_if_fail (self != NULL);
g_return_if_fail (EMPATHY_IS_CONTACT (self->priv->selected_contact));
- empathy_contact_information_dialog_show (self->priv->selected_contact,
- GTK_WINDOW (self));
+ individual = empathy_ensure_individual_from_tp_contact (
+ empathy_contact_get_tp_contact (self->priv->selected_contact));
+
+ empathy_display_individual_info (individual);
+
+ g_object_unref (individual);
}
static void