[gnome-builder/wip/chergert/layout] terminal: set foreground and background colors
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/chergert/layout] terminal: set foreground and background colors
- Date: Thu, 6 Jul 2017 01:12:26 +0000 (UTC)
commit 31224e8eb0fb3b248232e8f5a267728f21091f64
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]