aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-chat.h
diff options
context:
space:
mode:
authorGabriel Millaire <millaire.gabriel@gmail.com>2009-06-01 05:35:27 +0800
committerXavier Claessens <xclaesse@gmail.com>2009-06-18 18:34:37 +0800
commit422e90f113fb04e4d8b21f50fe8b1d314a3ef3ac (patch)
tree172980bd2787561470b94df2fc25633ff0334f4d /libempathy-gtk/empathy-chat.h
parentddb6c9033a1e1f028ab3df93d48462f33ea86a44 (diff)
downloadgsoc2013-empathy-422e90f113fb04e4d8b21f50fe8b1d314a3ef3ac.tar
gsoc2013-empathy-422e90f113fb04e4d8b21f50fe8b1d314a3ef3ac.tar.gz
gsoc2013-empathy-422e90f113fb04e4d8b21f50fe8b1d314a3ef3ac.tar.bz2
gsoc2013-empathy-422e90f113fb04e4d8b21f50fe8b1d314a3ef3ac.tar.lz
gsoc2013-empathy-422e90f113fb04e4d8b21f50fe8b1d314a3ef3ac.tar.xz
gsoc2013-empathy-422e90f113fb04e4d8b21f50fe8b1d314a3ef3ac.tar.zst
gsoc2013-empathy-422e90f113fb04e4d8b21f50fe8b1d314a3ef3ac.zip
Applied Xavier's comments
Added "show-contacts" property in empathy-chat with default value to preference. Setter function show/hide contact list. When Conv menu is opened in empathy-chat-window, update it with "show-contacts" value. Uses "remote-contact" instead of "empathy_chat_is_room" for that. Call setter function when Show Contacts menu is activated.
Diffstat (limited to 'libempathy-gtk/empathy-chat.h')
-rw-r--r--libempathy-gtk/empathy-chat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-chat.h b/libempathy-gtk/empathy-chat.h
index 12fac9617..c38fd64a6 100644
--- a/libempathy-gtk/empathy-chat.h
+++ b/libempathy-gtk/empathy-chat.h
@@ -82,6 +82,8 @@ void empathy_chat_correct_word (EmpathyChat *chat,
GtkTextIter *end,
const gchar *new_word);
gboolean empathy_chat_is_room (EmpathyChat *chat);
+void empathy_chat_set_show_contacts (EmpathyChat *chat,
+ gboolean show);
G_END_DECLS
#endif /* __EMPATHY_CHAT_H__ */