[gtksourceview] map: remove foreground style tweaks
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] map: remove foreground style tweaks
- Date: Thu, 14 Oct 2021 05:16:30 +0000 (UTC)
commit 16abf1549b3b0aa1638d29fa45c22fe9df235b8e
Author: Christian Hergert <chergert redhat com>
Date: Wed Oct 13 22:14:38 2021 -0700
map: remove foreground style tweaks
This isn't that useful, instead we should just rely on the text of the
actual source view unless we setup a special style for this.
gtksourceview/gtksourcemap.c | 4 ----
1 file changed, 4 deletions(-)
---
diff --git a/gtksourceview/gtksourcemap.c b/gtksourceview/gtksourcemap.c
index 0b23b875..3a0c82b2 100644
--- a/gtksourceview/gtksourcemap.c
+++ b/gtksourceview/gtksourcemap.c
@@ -430,9 +430,6 @@ gtk_source_map_rebuild_css (GtkSourceMap *map)
}
g_string_append_printf (gstr,
- "textview.source-map {"
- " color: mix(%s,%s,.25);"
- "}\n"
"slider {"
" background-color: alpha(%s,.25);"
" transition-duration: 300ms;"
@@ -443,7 +440,6 @@ gtk_source_map_rebuild_css (GtkSourceMap *map)
"slider.dragging:hover {"
" background-color: alpha(%s,.5);"
"}\n",
- foreground, background,
background, background, background);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]