summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-09-30 10:27:30 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-12-07 14:06:06 +0100
commit598db544a4d66a00aa45c036eb5bd6f591f0f996 (patch)
tree3e2525f64b75f23ac9c9787f16c09e51b35b2050
parent378fff47b595c21f802c0de3944cb520981a992d (diff)
empathy_account_widget_get_default_display_name: special case Ovi as well
-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);