aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorJonny Lamb <jonnylamb@gnome.org>2011-05-13 18:35:42 +0800
committerJonny Lamb <jonnylamb@gnome.org>2011-05-13 22:25:15 +0800
commit3329e947496629d8275ad68791d73c49d9fc820f (patch)
tree4840b2e95b59e2c206ad5e372869c1d402c9ea73 /libempathy-gtk
parent96345c97d9c3fc52b45ef5ce522ef2e4c94bca63 (diff)
downloadgsoc2013-empathy-3329e947496629d8275ad68791d73c49d9fc820f.tar
gsoc2013-empathy-3329e947496629d8275ad68791d73c49d9fc820f.tar.gz
gsoc2013-empathy-3329e947496629d8275ad68791d73c49d9fc820f.tar.bz2
gsoc2013-empathy-3329e947496629d8275ad68791d73c49d9fc820f.tar.lz
gsoc2013-empathy-3329e947496629d8275ad68791d73c49d9fc820f.tar.xz
gsoc2013-empathy-3329e947496629d8275ad68791d73c49d9fc820f.tar.zst
gsoc2013-empathy-3329e947496629d8275ad68791d73c49d9fc820f.zip
chat-view: add message_acknowledged vfunc
Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-chat-view.c11
-rw-r--r--libempathy-gtk/empathy-chat-view.h4
2 files changed, 15 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-chat-view.c b/libempathy-gtk/empathy-chat-view.c
index 097215cfd..43d89dd78 100644
--- a/libempathy-gtk/empathy-chat-view.c
+++ b/libempathy-gtk/empathy-chat-view.c
@@ -212,3 +212,14 @@ empathy_chat_view_focus_toggled (EmpathyChatView *view,
}
}
+void
+empathy_chat_view_message_acknowledged (EmpathyChatView *view,
+ EmpathyMessage *message)
+{
+ g_return_if_fail (EMPATHY_IS_CHAT_VIEW (view));
+
+ if (EMPATHY_TYPE_CHAT_VIEW_GET_IFACE (view)->message_acknowledged) {
+ EMPATHY_TYPE_CHAT_VIEW_GET_IFACE (view)->message_acknowledged (view, message);
+ }
+}
+
diff --git a/libempathy-gtk/empathy-chat-view.h b/libempathy-gtk/empathy-chat-view.h
index 1af0721a3..73245c422 100644
--- a/libempathy-gtk/empathy-chat-view.h
+++ b/libempathy-gtk/empathy-chat-view.h
@@ -70,6 +70,8 @@ struct _EmpathyChatViewIface {
void (*copy_clipboard) (EmpathyChatView *view);
void (*focus_toggled) (EmpathyChatView *view,
gboolean has_focus);
+ void (*message_acknowledged) (EmpathyChatView *view,
+ EmpathyMessage *message);
};
GType empathy_chat_view_get_type (void) G_GNUC_CONST;
@@ -101,6 +103,8 @@ void empathy_chat_view_highlight (EmpathyChatView *view,
void empathy_chat_view_copy_clipboard (EmpathyChatView *view);
void empathy_chat_view_focus_toggled (EmpathyChatView *view,
gboolean has_focus);
+void empathy_chat_view_message_acknowledged (EmpathyChatView *view,
+ EmpathyMessage *message);
G_END_DECLS