aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2010-02-11 07:02:58 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-02-12 00:01:37 +0800
commit894061fd27c27db5026c8d90bdb72339223f1798 (patch)
tree49b1ded5548f29aa84cf972b52d76c8e29ed48df /libempathy-gtk
parentfe0619ea555d88ac4342d2b5172b4738a6836b02 (diff)
downloadgsoc2013-empathy-894061fd27c27db5026c8d90bdb72339223f1798.tar
gsoc2013-empathy-894061fd27c27db5026c8d90bdb72339223f1798.tar.gz
gsoc2013-empathy-894061fd27c27db5026c8d90bdb72339223f1798.tar.bz2
gsoc2013-empathy-894061fd27c27db5026c8d90bdb72339223f1798.tar.lz
gsoc2013-empathy-894061fd27c27db5026c8d90bdb72339223f1798.tar.xz
gsoc2013-empathy-894061fd27c27db5026c8d90bdb72339223f1798.tar.zst
gsoc2013-empathy-894061fd27c27db5026c8d90bdb72339223f1798.zip
Add facebook in protocol chooser for gabble CM.
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-protocol-chooser.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-protocol-chooser.c b/libempathy-gtk/empathy-protocol-chooser.c
index 86f6af57b..0bbcd5127 100644
--- a/libempathy-gtk/empathy-protocol-chooser.c
+++ b/libempathy-gtk/empathy-protocol-chooser.c
@@ -234,6 +234,16 @@ protocol_choosers_add_cm (EmpathyProtocolChooser *chooser,
COL_PROTOCOL_NAME, proto->name,
COL_IS_GTALK, TRUE,
-1);
+
+ display_name = empathy_protocol_name_to_display_name ("facebook");
+ gtk_list_store_insert_with_values (priv->store,
+ NULL, 0,
+ COL_ICON, "im-facebook",
+ COL_LABEL, display_name,
+ COL_CM, cm,
+ COL_PROTOCOL_NAME, proto->name,
+ COL_IS_GTALK, FALSE,
+ -1);
}
g_free (icon_name);