aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-chat.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-07-14 17:32:02 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-07-14 17:32:02 +0800
commitf28debea9fe92f32a0faa9954af06cab15825df3 (patch)
tree6653d640408497e732aa6da5ea7efc66d2c67f86 /libempathy-gtk/empathy-chat.c
parentab41c50394233d90650679b9aced9b92f6eb630d (diff)
downloadgsoc2013-empathy-f28debea9fe92f32a0faa9954af06cab15825df3.tar
gsoc2013-empathy-f28debea9fe92f32a0faa9954af06cab15825df3.tar.gz
gsoc2013-empathy-f28debea9fe92f32a0faa9954af06cab15825df3.tar.bz2
gsoc2013-empathy-f28debea9fe92f32a0faa9954af06cab15825df3.tar.lz
gsoc2013-empathy-f28debea9fe92f32a0faa9954af06cab15825df3.tar.xz
gsoc2013-empathy-f28debea9fe92f32a0faa9954af06cab15825df3.tar.zst
gsoc2013-empathy-f28debea9fe92f32a0faa9954af06cab15825df3.zip
Disable /query and /msg commands for now (#624268)
This avoid to crash while bug 623682 hasn't been fixed.
Diffstat (limited to 'libempathy-gtk/empathy-chat.c')
-rw-r--r--libempathy-gtk/empathy-chat.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c
index 17a742ca0..edb132936 100644
--- a/libempathy-gtk/empathy-chat.c
+++ b/libempathy-gtk/empathy-chat.c
@@ -632,6 +632,7 @@ typedef struct {
gchar *message;
} ChatCommandMsgData;
+#if 0
static void
chat_command_msg_cb (EmpathyDispatchOperation *dispatch,
const GError *error,
@@ -661,6 +662,7 @@ OUT:
g_free (data->message);
g_slice_free (ChatCommandMsgData, data);
}
+#endif
static void
chat_command_clear (EmpathyChat *chat,
@@ -722,6 +724,7 @@ chat_command_join (EmpathyChat *chat,
g_strfreev (rooms);
}
+#if 0
static void
chat_command_msg_internal (EmpathyChat *chat,
const gchar *contact_id,
@@ -758,6 +761,7 @@ chat_command_msg (EmpathyChat *chat,
{
chat_command_msg_internal (chat, strv[1], strv[2]);
}
+#endif
static void
chat_command_nick (EmpathyChat *chat,
@@ -829,11 +833,14 @@ static ChatCommandItem commands[] = {
{"j", 2, 2, chat_command_join,
N_("/j <chat room ID>: join a new chat room")},
+#if 0
+/* FIXME: https://bugzilla.gnome.org/show_bug.cgi?id=623682 */
{"query", 2, 3, chat_command_query,
N_("/query <contact ID> [<message>]: open a private chat")},
{"msg", 3, 3, chat_command_msg,
N_("/msg <contact ID> <message>: open a private chat")},
+#endif
{"nick", 2, 2, chat_command_nick,
N_("/nick <nickname>: change your nickname on the current server")},