[empathy] empathy-chat-window: always display the title of the current tab
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy] empathy-chat-window: always display the title of the current tab
- Date: Wed, 4 Nov 2009 11:32:25 +0000 (UTC)
commit 816751a458d19c3e80eb0b16d09c48ea9fd1e0e8
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Wed Nov 4 11:27:01 2009 +0000
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 files changed, 1 insertions(+), 9 deletions(-)
---
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c
index 6946981..8bca377 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) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]