Fix folder selection dialog modality and focus on Windows.
authorAndrej Kacian <ticho@claws-mail.org>
Thu, 9 Jul 2015 19:58:25 +0000 (21:58 +0200)
committerAndrej Kacian <ticho@claws-mail.org>
Thu, 9 Jul 2015 19:58:25 +0000 (21:58 +0200)
Again, first set transient_for, then modal.

src/foldersel.c

index e618d41..0b77f15 100644 (file)
@@ -179,8 +179,8 @@ FolderItem *foldersel_folder_sel(Folder *cur_folder, FolderSelectionType type,
        gtk_widget_grab_focus(treeview);
 
        gtk_window_present(GTK_WINDOW(window));
-       gtk_window_set_modal(GTK_WINDOW(window), TRUE);
        manage_window_set_transient(GTK_WINDOW(window));
+       gtk_window_set_modal(GTK_WINDOW(window), TRUE);
 
        cancelled = finished = FALSE;