aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-chat-window.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-11-04 19:27:01 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-11-04 19:27:04 +0800
commit816751a458d19c3e80eb0b16d09c48ea9fd1e0e8 (patch)
tree94e039b11d9bdcbd1260afc1504797c974c4f440 /src/empathy-chat-window.c
parent8c1094bd3c37fa787ebd4800f88a821f7b59df18 (diff)
downloadgsoc2013-empathy-816751a458d19c3e80eb0b16d09c48ea9fd1e0e8.tar
gsoc2013-empathy-816751a458d19c3e80eb0b16d09c48ea9fd1e0e8.tar.gz
gsoc2013-empathy-816751a458d19c3e80eb0b16d09c48ea9fd1e0e8.tar.bz2
gsoc2013-empathy-816751a458d19c3e80eb0b16d09c48ea9fd1e0e8.tar.lz
gsoc2013-empathy-816751a458d19c3e80eb0b16d09c48ea9fd1e0e8.tar.xz
gsoc2013-empathy-816751a458d19c3e80eb0b16d09c48ea9fd1e0e8.tar.zst
gsoc2013-empathy-816751a458d19c3e80eb0b16d09c48ea9fd1e0e8.zip
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)
Diffstat (limited to 'src/empathy-chat-window.c')
-rw-r--r--src/empathy-chat-window.c10
1 files changed, 1 insertions, 9 deletions
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) {