diff options
Diffstat (limited to 'libempathy-gtk/empathy-protocol-chooser.c')
-rw-r--r-- | libempathy-gtk/empathy-protocol-chooser.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-protocol-chooser.c b/libempathy-gtk/empathy-protocol-chooser.c index 689f6a28a..c126c2f80 100644 --- a/libempathy-gtk/empathy-protocol-chooser.c +++ b/libempathy-gtk/empathy-protocol-chooser.c @@ -258,6 +258,16 @@ protocol_choosers_add_cm (EmpathyProtocolChooser *chooser, COL_PROTOCOL_NAME, proto->name, COL_SERVICE, "facebook", -1); + + display_name = empathy_service_name_to_display_name ("ovi-chat"); + gtk_list_store_insert_with_values (priv->store, + NULL, 0, + COL_ICON, "im-ovi", + COL_LABEL, display_name, + COL_CM, cm, + COL_PROTOCOL_NAME, proto->name, + COL_SERVICE, "ovi-chat", + -1); } g_free (icon_name); @@ -608,6 +618,11 @@ empathy_protocol_chooser_create_account_settings (EmpathyProtocolChooser *self) empathy_account_settings_set_string (settings, "server", "chat.facebook.com"); } + else if (!tp_strdiff (service, "ovi-chat")) + { + empathy_account_settings_set_icon_name_async (settings, "im-ovi", + NULL, NULL); + } g_object_unref (cm); g_free (service); |