[gtksourceview/wip/chergert/gsv-gtk4: 171/189] stylescheme: apply CSS to both "textview" and "textview text"
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/chergert/gsv-gtk4: 171/189] stylescheme: apply CSS to both "textview" and "textview text"
- Date: Mon, 22 Jun 2020 22:00:23 +0000 (UTC)
commit 38eefb35284408dee7bc6dac8d6f0f98014f5253
Author: Christian Hergert <chergert redhat com>
Date: Thu Apr 16 12:25:32 2020 -0700
stylescheme: apply CSS to both "textview" and "textview text"
Needed to get both the foreground and background working.
gtksourceview/gtksourcestylescheme.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/gtksourceview/gtksourcestylescheme.c b/gtksourceview/gtksourcestylescheme.c
index 517b449d..88f54dd5 100644
--- a/gtksourceview/gtksourcestylescheme.c
+++ b/gtksourceview/gtksourcestylescheme.c
@@ -871,6 +871,7 @@ generate_css_style (GtkSourceStyleScheme *scheme)
final_style = g_string_new ("");
style = gtk_source_style_scheme_get_style (scheme, STYLE_TEXT);
+ append_css_style (final_style, style, "textview");
append_css_style (final_style, style, "textview text");
style = gtk_source_style_scheme_get_style (scheme, STYLE_SELECTED);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]