aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-account-widget.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-09-30 16:27:30 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-12-07 21:06:06 +0800
commit598db544a4d66a00aa45c036eb5bd6f591f0f996 (patch)
tree3e2525f64b75f23ac9c9787f16c09e51b35b2050 /libempathy-gtk/empathy-account-widget.c
parent378fff47b595c21f802c0de3944cb520981a992d (diff)
downloadgsoc2013-empathy-598db544a4d66a00aa45c036eb5bd6f591f0f996.tar
gsoc2013-empathy-598db544a4d66a00aa45c036eb5bd6f591f0f996.tar.gz
gsoc2013-empathy-598db544a4d66a00aa45c036eb5bd6f591f0f996.tar.bz2
gsoc2013-empathy-598db544a4d66a00aa45c036eb5bd6f591f0f996.tar.lz
gsoc2013-empathy-598db544a4d66a00aa45c036eb5bd6f591f0f996.tar.xz
gsoc2013-empathy-598db544a4d66a00aa45c036eb5bd6f591f0f996.tar.zst
gsoc2013-empathy-598db544a4d66a00aa45c036eb5bd6f591f0f996.zip
empathy_account_widget_get_default_display_name: special case Ovi as well
Diffstat (limited to 'libempathy-gtk/empathy-account-widget.c')
-rw-r--r--libempathy-gtk/empathy-account-widget.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c
index 9bc4f4bdf..af112477e 100644
--- a/libempathy-gtk/empathy-account-widget.c
+++ b/libempathy-gtk/empathy-account-widget.c
@@ -2420,6 +2420,14 @@ empathy_account_widget_get_default_display_name (EmpathyAccountWidget *self)
default_display_name = g_strdup_printf ("Facebook (%s)", tmp);
g_free (tmp);
}
+ else if (service == OVI_SERVICE)
+ {
+ gchar *tmp;
+
+ tmp = remove_jid_suffix (self, login_id);
+ default_display_name = g_strdup_printf ("Ovi (%s)", tmp);
+ g_free (tmp);
+ }
else
{
default_display_name = g_strdup (login_id);