Fix focus on popup GTK dialogs
commitb7954eebe6fe06dd1e585c83efa7a20e7be0a2ac
authorarjanl <arjanl@opera.com>
Mon, 8 Sep 2014 08:48:45 +0000 (8 01:48 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 8 Sep 2014 08:53:47 +0000 (8 08:53 +0000)
tree88961eb688bb50a3a2b1adfb5ed6772821cd3995
parentcea6aad660febf52014273068750a86df3de645d
Fix focus on popup GTK dialogs

Previously we didn't have a call to gtk_window_present(), which would
mean that the widgets would become visible, but the necessary actions to
focus weren't always taken. This resulted in the active window not being
correct after opening the file or print dialogs.

BUG=399514

Review URL: https://codereview.chromium.org/543093002

Cr-Commit-Position: refs/heads/master@{#293691}
chrome/browser/ui/libgtk2ui/print_dialog_gtk2.cc
chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc