aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2010-12-26 21:50:11 +0800
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2010-12-29 21:01:01 +0800
commitf49b34ee571c0894ab4e85af27479c288b0560c1 (patch)
tree87ee40754efb61d6b0604ab145dca6bd1d297bdb /src
parent048bf784409bd5c40705e4169793b0951c709264 (diff)
downloadgsoc2013-empathy-f49b34ee571c0894ab4e85af27479c288b0560c1.tar.gz
gsoc2013-empathy-f49b34ee571c0894ab4e85af27479c288b0560c1.tar.zst
gsoc2013-empathy-f49b34ee571c0894ab4e85af27479c288b0560c1.zip
Highlight both the tab and the menu label
Diffstat (limited to 'src')
-rw-r--r--src/empathy-chat-window.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c
index 0e9abcf13..1a7c2aa0e 100644
--- a/src/empathy-chat-window.c
+++ b/src/empathy-chat-window.c
@@ -1354,7 +1354,7 @@ chat_window_show_or_update_notification (EmpathyChatWindow *window,
}
static void
-chat_window_set_highlight_room_tab_label (EmpathyChat *chat)
+chat_window_set_highlight_room_labels (EmpathyChat *chat)
{
gchar *markup;
GtkWidget *widget;
@@ -1368,6 +1368,10 @@ chat_window_set_highlight_room_tab_label (EmpathyChat *chat)
widget = g_object_get_data (G_OBJECT (chat), "chat-window-tab-label");
gtk_label_set_markup (GTK_LABEL (widget), markup);
+
+ widget = g_object_get_data (G_OBJECT (chat), "chat-window-menu-label");
+ gtk_label_set_markup (GTK_LABEL (widget), markup);
+
g_free (markup);
}
@@ -1459,7 +1463,7 @@ chat_window_new_message_cb (EmpathyChat *chat,
if (needs_urgency) {
if (!has_focus) {
chat_window_set_urgency_hint (window, TRUE);
- chat_window_set_highlight_room_tab_label (chat);
+ chat_window_set_highlight_room_labels (chat);
}
empathy_sound_manager_play (priv->sound_mgr, GTK_WIDGET (priv->dialog),