set_colors before foreground/background/dim

This commit is contained in:
Daniel Micay 2012-06-25 02:18:12 -04:00
parent a05d66ec90
commit e39418eaca
1 changed files with 4 additions and 4 deletions

View File

@ -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);
}