[gnome-builder] terminal: set foreground and background colors
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] terminal: set foreground and background colors
- Date: Wed, 19 Jul 2017 11:10:54 +0000 (UTC)
commit 51b8d6dba9c94f3edbad0fe39225d3a3f83d9de6
Author: Christian Hergert <chergert redhat com>
Date: Wed Jul 5 18:11:43 2017 -0700
terminal: set foreground and background colors
This lets the layout view know about the primary colors so that
the layout stack header can adjust itself appropriately.
plugins/terminal/gb-terminal-view.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/plugins/terminal/gb-terminal-view.c b/plugins/terminal/gb-terminal-view.c
index 589ecbc..a6c52f7 100644
--- a/plugins/terminal/gb-terminal-view.c
+++ b/plugins/terminal/gb-terminal-view.c
@@ -487,6 +487,9 @@ style_context_changed (GtkStyleContext *style_context,
vte_terminal_set_colors (self->terminal_top, &fg, &bg,
solarized_palette,
G_N_ELEMENTS (solarized_palette));
+
+ ide_layout_view_set_primary_color_fg (IDE_LAYOUT_VIEW (self), &fg);
+ ide_layout_view_set_primary_color_bg (IDE_LAYOUT_VIEW (self), &bg);
}
static IdeLayoutView *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]