From 49170585b319289915d49e44b0350120ee30b0b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= Date: Mon, 20 Jan 2020 15:27:26 +0100 Subject: [PATCH] st/entry: Add css class name to hint-text label Allow styling the hint text of the entry using css easily. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/944 --- src/st/st-entry.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/st/st-entry.c b/src/st/st-entry.c index 741ba90ff..ba3d1ca60 100644 --- a/src/st/st-entry.c +++ b/src/st/st-entry.c @@ -1092,6 +1092,8 @@ st_entry_set_hint_text (StEntry *entry, g_return_if_fail (ST_IS_ENTRY (entry)); label = st_label_new (text); + st_widget_add_style_class_name (label, "hint-text"); + st_entry_set_hint_actor (ST_ENTRY (entry), CLUTTER_ACTOR (label)); }