diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2022-10-01 21:55:07 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2022-10-01 21:55:07 +0200 |
commit | f542481df58f3222143bc260feb34b5cf537d8e0 (patch) | |
tree | 31cd86e358bc70e6d83955fdcc0d8e05fc32c325 /src/library/LibraryWindow.vala | |
parent | 0b99aa7b114b6c8eb0d55742c4be2f3a73f44e39 (diff) | |
parent | bb0e1e40d2de6b093b564f4f2cd0c44aa32380b8 (diff) |
Update upstream source from tag 'upstream/0.30.17'
Update to upstream version '0.30.17'
with Debian dir 3a9f978d21f3777edc044a3c6b84923dd9b60a25
Diffstat (limited to 'src/library/LibraryWindow.vala')
-rw-r--r-- | src/library/LibraryWindow.vala | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/library/LibraryWindow.vala b/src/library/LibraryWindow.vala index 3aa397e..53b3a7b 100644 --- a/src/library/LibraryWindow.vala +++ b/src/library/LibraryWindow.vala @@ -516,9 +516,8 @@ public class LibraryWindow : AppWindow { } private void on_file_import() { - Gtk.FileChooserDialog import_dialog = new Gtk.FileChooserDialog(_("Import From Folder"), null, - Gtk.FileChooserAction.SELECT_FOLDER, Resources.CANCEL_LABEL, Gtk.ResponseType.CANCEL, - Resources.OK_LABEL, Gtk.ResponseType.OK); + var import_dialog = new Gtk.FileChooserNative(_("Import From Folder"), null, + Gtk.FileChooserAction.SELECT_FOLDER, Resources.OK_LABEL, Resources.CANCEL_LABEL); import_dialog.set_local_only(false); import_dialog.set_select_multiple(true); import_dialog.set_current_folder(import_dir); @@ -529,7 +528,7 @@ public class LibraryWindow : AppWindow { int response = import_dialog.run(); - if (response == Gtk.ResponseType.OK) { + if (response == Gtk.ResponseType.ACCEPT) { import_dialog.hide(); // force file linking if directory is inside current library directory Gtk.ResponseType copy_files_response = |