diff --git a/src/manager_window.vala b/src/manager_window.vala index 74c1651..e8001c4 100644 --- a/src/manager_window.vala +++ b/src/manager_window.vala @@ -1684,7 +1684,7 @@ namespace Pamac { void on_refresh_button_clicked () { this.get_window ().set_cursor (new Gdk.Cursor.for_display (Gdk.Display.get_default (), Gdk.CursorType.WATCH)); refreshing = true; - transaction.start_refresh (false); + transaction.start_refresh (true); apply_button.sensitive = false; transaction_infobox.show_all (); } diff --git a/src/updater_window.vala b/src/updater_window.vala index 5856f5b..3177c3c 100644 --- a/src/updater_window.vala +++ b/src/updater_window.vala @@ -107,7 +107,11 @@ namespace Pamac { // A timeout is needed to let the time to the daemon to deal // with potential other package manager process running. Timeout.add (500, () => { - on_refresh_button_clicked (); + this.get_window ().set_cursor (new Gdk.Cursor.for_display (Gdk.Display.get_default (), Gdk.CursorType.WATCH)); + transaction_infobox.show_all (); + details_button.sensitive = true; + cancel_button.sensitive = true; + transaction.start_refresh (false); return false; }); @@ -240,7 +244,7 @@ namespace Pamac { apply_button.sensitive = false; details_button.sensitive = true; cancel_button.sensitive = true; - transaction.start_refresh (false); + transaction.start_refresh (true); } [GtkCallback]