From 816751a458d19c3e80eb0b16d09c48ea9fd1e0e8 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 4 Nov 2009 11:27:01 +0000 Subject: empathy-chat-window: always display the title of the current tab This is more coherent as the web browsers do the same. Thanks to Ryan LaBelle for his help. (#600473) --- src/empathy-chat-window.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src') diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c index 69469815e..8bca377b5 100644 --- a/src/empathy-chat-window.c +++ b/src/empathy-chat-window.c @@ -362,15 +362,7 @@ chat_window_update (EmpathyChatWindow *window) } /* Update window title */ - if (n_chats == 1) { - gtk_window_set_title (GTK_WINDOW (priv->dialog), name); - } else { - gchar *title; - - title = g_strdup_printf (_("Conversations (%d)"), n_chats); - gtk_window_set_title (GTK_WINDOW (priv->dialog), title); - g_free (title); - } + gtk_window_set_title (GTK_WINDOW (priv->dialog), name); /* Update window icon */ if (priv->chats_new_msg) { -- cgit v1.2.3