Commit fe5ebe91 authored by Guillaume Benoit's avatar Guillaume Benoit
Browse files

fix checking for aur updates after changing prefrerences

parent 5ce97e07
......@@ -750,6 +750,7 @@ namespace Pamac {
database.config.save ();
preferences_window.hide ();
transaction.remove_authorization ();
updates_checked = false;
check_aur_support ();
check_snap_support ();
check_flatpak_support ();
......
......@@ -265,7 +265,7 @@ namespace Pamac {
config.bind_property ("keep_built_pkgs", keep_built_pkgs_button, "active", BindingFlags.SYNC_CREATE | BindingFlags.BIDIRECTIONAL);
config.bind_property ("check_aur_updates", check_aur_updates_button, "active", BindingFlags.SYNC_CREATE | BindingFlags.BIDIRECTIONAL);
config.bind_property ("check_aur_vcs_updates", check_aur_vcs_updates_button, "active", BindingFlags.SYNC_CREATE | BindingFlags.BIDIRECTIONAL);
config.bind_property ("check_aur_updates", check_aur_vcs_updates_button, "sensitive", BindingFlags.SYNC_CREATE | BindingFlags.BIDIRECTIONAL);
config.bind_property ("check_aur_updates", check_aur_vcs_updates_button, "sensitive", BindingFlags.SYNC_CREATE);
aur_build_dir_file_chooser.label = Path.get_basename (config.aur_build_dir);
refresh_clean_build_files_button.begin ();
config.bind_property ("support_flatpak", flatpak_preferences_group, "visible", BindingFlags.SYNC_CREATE);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment