[empathy] empathy_account_widget_get_default_display_name: special case Ovi as well
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] empathy_account_widget_get_default_display_name: special case Ovi as well
- Date: Tue, 7 Dec 2010 13:06:40 +0000 (UTC)
commit 598db544a4d66a00aa45c036eb5bd6f591f0f996
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Thu Sep 30 10:27:30 2010 +0200
empathy_account_widget_get_default_display_name: special case Ovi as well
libempathy-gtk/empathy-account-widget.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c
index 9bc4f4b..af11247 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]