From 1d5ba789d5bb2a0a4bec77690f6d874265425d42 Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Fri, 20 Apr 2012 15:35:44 +0200 Subject: [PATCH] stylecontext: Add GTK_STYLE_CLASS_DIM_LABEL Fixes: https://bugzilla.gnome.org/674468 --- gtk/gtkstylecontext.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/gtk/gtkstylecontext.h b/gtk/gtkstylecontext.h index 1a1f73ee19..4975862f79 100644 --- a/gtk/gtkstylecontext.h +++ b/gtk/gtkstylecontext.h @@ -157,6 +157,16 @@ struct _GtkStyleContextClass */ #define GTK_STYLE_CLASS_CELL "cell" +/** + * GTK_STYLE_CLASS_DIM_LABEL: + * + * A CSS class to match dimmed labels. + * + * This should be used for toning down right aligned labels as + * compared to the entry value. + */ +#define GTK_STYLE_CLASS_DIM_LABEL "dim-label" + /** * GTK_STYLE_CLASS_ENTRY: *