fix terminal color not updating

This commit is contained in:
2017-10-16 22:57:25 -03:00
parent fe5d7392c7
commit 420243ca42
21 changed files with 55 additions and 40 deletions

View File

@@ -239,12 +239,14 @@ namespace Pamac {
var new_pamac_conf = new HashTable<string,Variant> (str_hash, str_equal);
new_pamac_conf.insert ("BackgroundColor", new Variant.string (terminal_background.rgba.to_string ()));
transaction.start_write_pamac_config (new_pamac_conf);
transaction.update_terminal_background (terminal_background.rgba.to_string ());
}
void on_select_foreground () {
var new_pamac_conf = new HashTable<string,Variant> (str_hash, str_equal);
new_pamac_conf.insert ("ForegroundColor", new Variant.string (terminal_foreground.rgba.to_string ()));
transaction.start_write_pamac_config (new_pamac_conf);
transaction.update_terminal_foreground (terminal_foreground.rgba.to_string ());
}
#if DISABLE_AUR