aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-roster-item.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy-gtk/empathy-roster-item.c')
-rw-r--r--libempathy-gtk/empathy-roster-item.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-roster-item.c b/libempathy-gtk/empathy-roster-item.c
index 75b87510d..3e330b968 100644
--- a/libempathy-gtk/empathy-roster-item.c
+++ b/libempathy-gtk/empathy-roster-item.c
@@ -272,6 +272,7 @@ static void
empathy_roster_item_init (EmpathyRosterItem *self)
{
GtkWidget *box;
+ GtkStyleContext *context;
self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
EMPATHY_TYPE_ROSTER_ITEM, EmpathyRosterItemPriv);
@@ -296,6 +297,9 @@ empathy_roster_item_init (EmpathyRosterItem *self)
self->priv->presence_msg = gtk_label_new (NULL);
gtk_box_pack_start (GTK_BOX (box), self->priv->presence_msg, TRUE, TRUE, 0);
+ context = gtk_widget_get_style_context (self->priv->presence_msg);
+ gtk_style_context_add_class (context, GTK_STYLE_CLASS_DIM_LABEL);
+
gtk_widget_show_all (box);
/* Presence icon */