diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-02-25 22:29:08 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-02-25 22:29:08 +0800 |
commit | dfa0a14010577349ccaa56a785c4e7f1ae68119d (patch) | |
tree | d1a9e8279795e0007672416ce29d77b1413abd8e /libempathy-gtk/empathy-chat.c | |
parent | c1ac26eb983b09e55771a9a6f6130b7e9bdff1fb (diff) | |
download | gsoc2013-empathy-dfa0a14010577349ccaa56a785c4e7f1ae68119d.tar gsoc2013-empathy-dfa0a14010577349ccaa56a785c4e7f1ae68119d.tar.gz gsoc2013-empathy-dfa0a14010577349ccaa56a785c4e7f1ae68119d.tar.bz2 gsoc2013-empathy-dfa0a14010577349ccaa56a785c4e7f1ae68119d.tar.lz gsoc2013-empathy-dfa0a14010577349ccaa56a785c4e7f1ae68119d.tar.xz gsoc2013-empathy-dfa0a14010577349ccaa56a785c4e7f1ae68119d.tar.zst gsoc2013-empathy-dfa0a14010577349ccaa56a785c4e7f1ae68119d.zip |
Disable /part command for now
See https://bugzilla.gnome.org/show_bug.cgi?id=643295
Diffstat (limited to 'libempathy-gtk/empathy-chat.c')
-rw-r--r-- | libempathy-gtk/empathy-chat.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c index 2aa94af06..72e906079 100644 --- a/libempathy-gtk/empathy-chat.c +++ b/libempathy-gtk/empathy-chat.c @@ -686,6 +686,7 @@ nick_command_supported (EmpathyChat *chat) EMP_IFACE_QUARK_CONNECTION_INTERFACE_RENAMING); } +#if 0 static gboolean part_command_supported (EmpathyChat *chat) { @@ -696,6 +697,7 @@ part_command_supported (EmpathyChat *chat) return tp_proxy_has_interface_by_id (channel, TP_IFACE_QUARK_CHANNEL_INTERFACE_GROUP); } +#endif static void chat_command_clear (EmpathyChat *chat, @@ -770,6 +772,7 @@ empathy_chat_leave_chat (EmpathyChat *chat) empathy_tp_chat_leave (priv->tp_chat, ""); } +#if 0 static void chat_command_part (EmpathyChat *chat, GStrv strv) @@ -789,6 +792,7 @@ chat_command_part (EmpathyChat *chat, empathy_tp_chat_leave (priv->tp_chat, strv[1]); } } +#endif static void chat_command_msg_internal (EmpathyChat *chat, @@ -913,9 +917,12 @@ static ChatCommandItem commands[] = { {"j", 2, 2, chat_command_join, NULL, N_("/j <chat room ID>: join a new chat room")}, +#if 0 + /* FIXME: https://bugzilla.gnome.org/show_bug.cgi?id=643295 */ {"part", 1, 3, chat_command_part, part_command_supported, N_("/part [<chat room ID>] [<reason>]: leave the chat room, " "by default the current one")}, +#endif {"query", 2, 3, chat_command_query, NULL, N_("/query <contact ID> [<message>]: open a private chat")}, |