[shotwell] import: Hide file selector after clicking ok



commit 0caab9a44040a25a19b0b95e836969b8f3ada169
Author: Jens Georg <mail jensge org>
Date:   Tue Jul 4 20:57:18 2017 +0200

    import: Hide file selector after clicking ok

 src/library/LibraryWindow.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/library/LibraryWindow.vala b/src/library/LibraryWindow.vala
index 0b96e18..47a0ad9 100644
--- a/src/library/LibraryWindow.vala
+++ b/src/library/LibraryWindow.vala
@@ -519,6 +519,7 @@ public class LibraryWindow : AppWindow {
         int response = import_dialog.run();
         
         if (response == Gtk.ResponseType.OK) {
+            import_dialog.hide();
             // force file linking if directory is inside current library directory
             Gtk.ResponseType copy_files_response =
                 AppDirs.is_in_import_dir(File.new_for_uri(import_dialog.get_uri()))


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