diff options
author | xclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4> | 2007-06-02 23:56:53 +0800 |
---|---|---|
committer | xclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4> | 2007-06-02 23:56:53 +0800 |
commit | b0fbbe35071521864430ab743d37fd39708bd30b (patch) | |
tree | 8d45dac7656d61f2b9487a7567a4ede3227e3f4d /libempathy-gtk/gossip-private-chat.c | |
parent | 9e43e9af5f699b81d26d6283fd3320f4795476a5 (diff) | |
download | gsoc2013-empathy-b0fbbe35071521864430ab743d37fd39708bd30b.tar gsoc2013-empathy-b0fbbe35071521864430ab743d37fd39708bd30b.tar.gz gsoc2013-empathy-b0fbbe35071521864430ab743d37fd39708bd30b.tar.bz2 gsoc2013-empathy-b0fbbe35071521864430ab743d37fd39708bd30b.tar.lz gsoc2013-empathy-b0fbbe35071521864430ab743d37fd39708bd30b.tar.xz gsoc2013-empathy-b0fbbe35071521864430ab743d37fd39708bd30b.tar.zst gsoc2013-empathy-b0fbbe35071521864430ab743d37fd39708bd30b.zip |
2007-06-02 Xavier Claessens <xclaesse@gmail.com>
* libempathy-gtk/gossip-group-chat.c:
* libempathy-gtk/gossip-private-chat.c:
* libempathy-gtk/gossip-chat.c:
* libempathy/empathy-log-manager.c:
* libempathy/empathy-log-manager.h:
* libempathy/empathy-log-manager.xsl:
* libempathy/Makefile.am: Log chats and display 10 last messages when
opening a new chat.
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@114 4ee84921-47dd-4033-b63a-18d7a039a3e4
Diffstat (limited to 'libempathy-gtk/gossip-private-chat.c')
-rw-r--r-- | libempathy-gtk/gossip-private-chat.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libempathy-gtk/gossip-private-chat.c b/libempathy-gtk/gossip-private-chat.c index 12e83dccc..f047f12e2 100644 --- a/libempathy-gtk/gossip-private-chat.c +++ b/libempathy-gtk/gossip-private-chat.c @@ -307,13 +307,12 @@ private_chat_setup (GossipPrivateChat *chat, priv = GET_PRIV (chat); - gossip_chat_set_tp_chat (GOSSIP_CHAT (chat), tp_chat); - - priv->contact = g_object_ref (contact); GOSSIP_CHAT (chat)->account = g_object_ref (gossip_contact_get_account (contact)); - + priv->contact = g_object_ref (contact); priv->name = g_strdup (gossip_contact_get_name (contact)); + gossip_chat_set_tp_chat (GOSSIP_CHAT (chat), tp_chat); + g_signal_connect (priv->contact, "notify::name", G_CALLBACK (private_chat_contact_updated_cb), |