From e39418eaca1123c9bb89ccc74437523406bc959a Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Mon, 25 Jun 2012 02:18:12 -0400 Subject: [PATCH] set_colors before foreground/background/dim --- termite.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/termite.c b/termite.c index e624a7f..31acd96 100644 --- a/termite.c +++ b/termite.c @@ -428,6 +428,10 @@ static void load_config(GtkWindow *window, VteTerminal *vte, g_strfreev(triplet); } + if (success) { + vte_terminal_set_colors(vte, NULL, NULL, palette, palette_size); + } + if (get_config_color(config, "dim", &color)) { vte_terminal_set_color_dim(vte, &color); } @@ -440,10 +444,6 @@ static void load_config(GtkWindow *window, VteTerminal *vte, vte_terminal_set_color_background(vte, &color); } - if (success) { - vte_terminal_set_colors(vte, NULL, NULL, palette, palette_size); - } - if (get_config_color(config, "cursor", &color)) { vte_terminal_set_color_cursor(vte, &color); }