aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-chat-text-view.c
diff options
context:
space:
mode:
authorFelix Kaser <f.kaser@gmx.net>2010-04-07 19:33:21 +0800
committerFelix Kaser <f.kaser@gmx.net>2010-04-08 19:24:40 +0800
commit8ba8fc742b0f53228fb3e507cb99ddcb2e58120d (patch)
tree0e342f63f6c94c3564407e3c1ff14a84d9a8fef8 /libempathy-gtk/empathy-chat-text-view.c
parent77fd33616f44a907342651a5a2d7e326ad5ccf55 (diff)
downloadgsoc2013-empathy-8ba8fc742b0f53228fb3e507cb99ddcb2e58120d.tar
gsoc2013-empathy-8ba8fc742b0f53228fb3e507cb99ddcb2e58120d.tar.gz
gsoc2013-empathy-8ba8fc742b0f53228fb3e507cb99ddcb2e58120d.tar.bz2
gsoc2013-empathy-8ba8fc742b0f53228fb3e507cb99ddcb2e58120d.tar.lz
gsoc2013-empathy-8ba8fc742b0f53228fb3e507cb99ddcb2e58120d.tar.xz
gsoc2013-empathy-8ba8fc742b0f53228fb3e507cb99ddcb2e58120d.tar.zst
gsoc2013-empathy-8ba8fc742b0f53228fb3e507cb99ddcb2e58120d.zip
update last_timestamp with every message
the last_timestamp is updated with every message in chat-text-view
Diffstat (limited to 'libempathy-gtk/empathy-chat-text-view.c')
-rw-r--r--libempathy-gtk/empathy-chat-text-view.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-chat-text-view.c b/libempathy-gtk/empathy-chat-text-view.c
index 137a77adb..491b61333 100644
--- a/libempathy-gtk/empathy-chat-text-view.c
+++ b/libempathy-gtk/empathy-chat-text-view.c
@@ -442,8 +442,6 @@ chat_text_view_append_timestamp (EmpathyChatTextView *view,
EMPATHY_CHAT_TEXT_VIEW_TAG_TIME,
NULL);
- priv->last_timestamp = timestamp;
-
g_string_free (str, TRUE);
}
@@ -744,6 +742,8 @@ chat_text_view_append_message (EmpathyChatView *view,
}
priv->last_contact = g_object_ref (empathy_message_get_sender (msg));
g_object_notify (G_OBJECT (view), "last-contact");
+
+ priv->last_timestamp = timestamp;
}
static void