[gtksourceview/wip/chergert/hoverers] add css class for hover popover
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/chergert/hoverers] add css class for hover popover
- Date: Wed, 10 Mar 2021 07:27:07 +0000 (UTC)
commit 69f2cf14324d8456438abc0b092db040602cb042
Author: Christian Hergert <chergert redhat com>
Date: Tue Mar 9 23:26:33 2021 -0800
add css class for hover popover
gtksourceview/gtksourcehoverassistant.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/gtksourceview/gtksourcehoverassistant.c b/gtksourceview/gtksourcehoverassistant.c
index e183734d..74bf8818 100644
--- a/gtksourceview/gtksourcehoverassistant.c
+++ b/gtksourceview/gtksourcehoverassistant.c
@@ -122,6 +122,8 @@ gtk_source_hover_assistant_init (GtkSourceHoverAssistant *self)
{
GtkEventController *motion;
+ gtk_widget_add_css_class (GTK_WIDGET (self), "hover-assistant");
+
gtk_popover_set_autohide (GTK_POPOVER (self), TRUE);
self->display = g_object_new (GTK_SOURCE_TYPE_HOVER_DISPLAY,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]