[empathy] log-window: use empathy_display_individual_info()
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] log-window: use empathy_display_individual_info()
- Date: Wed, 11 Jul 2012 10:01:05 +0000 (UTC)
commit 15b0acdc8cec7794f1112b243b2fadd3baf6a707
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Wed Jul 11 10:47:24 2012 +0200
log-window: use empathy_display_individual_info()
https://bugzilla.gnome.org/show_bug.cgi?id=679111
libempathy-gtk/empathy-log-window.c | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/libempathy-gtk/empathy-log-window.c b/libempathy-gtk/empathy-log-window.c
index dec7b37..ff274a6 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]