]> git.0d.be Git - empathy.git/commitdiff
Embolden tab labels when you're highlighted
authorWill Thompson <will.thompson@collabora.co.uk>
Wed, 5 Aug 2009 10:08:44 +0000 (11:08 +0100)
committerWill Thompson <will.thompson@collabora.co.uk>
Wed, 5 Aug 2009 10:59:04 +0000 (11:59 +0100)
This is in addition to en-reddening them, which might not be enough if
you can't distinguish red and black, and matches how names are
highlighted in the conversation window.

Ideally this would be theme-able, but this is a start.

src/empathy-chat-window.c

index 3e77553b37f47c8f159c0ede4a9bc76614f90aa6..6dbbc0b3b6844597601d23f85b0f8ada7851d60a 100644 (file)
@@ -1003,7 +1003,8 @@ chat_window_set_highlight_room_tab_label (EmpathyChat *chat)
        if (!empathy_chat_is_room (chat))
                return;
 
-       markup = g_markup_printf_escaped ("<span color=\"red\">%s</span>",
+       markup = g_markup_printf_escaped (
+               "<span color=\"red\" weight=\"bold\">%s</span>",
                empathy_chat_get_name (chat));
 
        widget = g_object_get_data (G_OBJECT (chat), "chat-window-tab-label");