Commit f88e4811 authored by Felipe Borges's avatar Felipe Borges 👣

wizard-window: No need to pass the recommended downloads alog

parent cdc65012
......@@ -583,7 +583,7 @@ private void on_media_selected (InstallerMedia media) {
[GtkCallback]
private void on_download_an_os_button_clicked () {
window.wizard_window.show_downloads_page (media_manager.os_db, downloads_model, (entry) => {
window.wizard_window.show_downloads_page (media_manager.os_db, (entry) => {
// Handle custom downloads
if (entry.os.id == "http://redhat.com/rhel/7.4") {
on_install_rhel_button_clicked ();
......
......@@ -117,7 +117,7 @@ public void show_file_chooser (owned FileChosenFunc file_chosen_func) {
page = WizardWindowPage.FILE_CHOOSER;
}
public void show_downloads_page (OSDatabase os_db, GLib.ListStore recommended_downloads, owned DownloadChosenFunc download_chosen_func) {
public void show_downloads_page (OSDatabase os_db, owned DownloadChosenFunc download_chosen_func) {
page = WizardWindowPage.DOWNLOADS;
topbar.downloads_search.grab_focus ();
......
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