[gnome-boxes] Revert "assistant: Allow selecting folders"



commit 2804502c247030b4d00123867fea0e2ca64bc1b1
Author: Felipe Borges <felipeborges gnome org>
Date:   Fri Dec 4 10:36:37 2020 +0100

    Revert "assistant: Allow selecting folders"
    
    This reverts commit 762c39e665c9f60cc5110bc15065f96077b347b4.

 src/assistant/index-page.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/assistant/index-page.vala b/src/assistant/index-page.vala
index 813cb575..da020754 100644
--- a/src/assistant/index-page.vala
+++ b/src/assistant/index-page.vala
@@ -142,7 +142,7 @@ public override void cleanup () {
     private async void on_select_file_button_clicked () {
         var file_chooser = new Gtk.FileChooserNative (_("Select a device or ISO file"),
                                                       App.app.main_window,
-                                                      Gtk.FileChooserAction.OPEN | 
Gtk.FileChooserAction.SELECT_FOLDER,
+                                                      Gtk.FileChooserAction.OPEN,
                                                       _("Open"), _("Cancel"));
         file_chooser.bind_property ("visible", dialog, "visible", BindingFlags.INVERT_BOOLEAN);
         if (file_chooser.run () == Gtk.ResponseType.ACCEPT) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]