diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-05-21 22:13:21 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-06-14 15:21:46 +0800 |
commit | 84f1e91d7dbfb27b07a76c057ecba36717c927b5 (patch) | |
tree | d7e7806bfba1305a83143f9062f9500c091ac277 | |
parent | 902f0c33eda521800d562e47575ff966ee87b56b (diff) | |
download | gsoc2013-empathy-84f1e91d7dbfb27b07a76c057ecba36717c927b5.tar gsoc2013-empathy-84f1e91d7dbfb27b07a76c057ecba36717c927b5.tar.gz gsoc2013-empathy-84f1e91d7dbfb27b07a76c057ecba36717c927b5.tar.bz2 gsoc2013-empathy-84f1e91d7dbfb27b07a76c057ecba36717c927b5.tar.lz gsoc2013-empathy-84f1e91d7dbfb27b07a76c057ecba36717c927b5.tar.xz gsoc2013-empathy-84f1e91d7dbfb27b07a76c057ecba36717c927b5.tar.zst gsoc2013-empathy-84f1e91d7dbfb27b07a76c057ecba36717c927b5.zip |
set dim-label style class on the presence message label
-rw-r--r-- | libempathy-gtk/empathy-roster-item.c | 4 |
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 */ |