From b6568db4f81cf4e78e96aa5fe23f020de5ff6557 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Wed, 7 Jul 2010 16:21:43 +0100 Subject: Merge EmpathyContact:name and *_set_alias() to EmpathyContact:alias The "name" API was a relic of Gossip. --- src/empathy-call-window.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/empathy-call-window.c') diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c index e607b2ef7..ffdcb5c71 100644 --- a/src/empathy-call-window.c +++ b/src/empathy-call-window.c @@ -1244,7 +1244,7 @@ set_window_title (EmpathyCallWindow *self) /* translators: Call is a noun and %s is the contact name. This string * is used in the window title */ tmp = g_strdup_printf (_("Call with %s"), - empathy_contact_get_name (priv->contact)); + empathy_contact_get_alias (priv->contact)); gtk_window_set_title (GTK_WINDOW (self), tmp); g_free (tmp); } @@ -2215,19 +2215,19 @@ media_stream_error_to_txt (EmpathyCallWindow *self, return g_strdup_printf ( _("%s's software does not understand any of the audio formats " "supported by your computer"), - empathy_contact_get_name (priv->contact)); + empathy_contact_get_alias (priv->contact)); else return g_strdup_printf ( _("%s's software does not understand any of the video formats " "supported by your computer"), - empathy_contact_get_name (priv->contact)); + empathy_contact_get_alias (priv->contact)); case TP_MEDIA_STREAM_ERROR_CONNECTION_FAILED: return g_strdup_printf ( _("Can't establish a connection to %s. " "One of you might be on a network that does not allow " "direct connections."), - empathy_contact_get_name (priv->contact)); + empathy_contact_get_alias (priv->contact)); case TP_MEDIA_STREAM_ERROR_NETWORK_ERROR: return g_strdup (_("There was a failure on the network")); -- cgit v1.2.3