summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authordjm <djm>2009-11-18 06:51:59 +0000
committerdjm <djm>2009-11-18 06:51:59 +0000
commit9d0fa83e763b427beb25438e01ddc49491d82e9b (patch)
treeae43813d4374a82e48eaa16c9522621b37fc44b1 /contrib
parentf0f5d6dda5fe27433ee730d4f85f9b551c84e23b (diff)
downloadopenssh-9d0fa83e763b427beb25438e01ddc49491d82e9b.tar.gz
- (djm) [contrib/gnome-ssh-askpass2.c] Make askpass dialog desktop-modal.
bz#1645, patch from jchadima AT redhat.com
Diffstat (limited to 'contrib')
-rw-r--r--contrib/gnome-ssh-askpass2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/gnome-ssh-askpass2.c b/contrib/gnome-ssh-askpass2.c
index 901176db..9d97c30c 100644
--- a/contrib/gnome-ssh-askpass2.c
+++ b/contrib/gnome-ssh-askpass2.c
@@ -120,6 +120,8 @@ passphrase_dialog(char *message)
g_signal_connect(G_OBJECT(entry), "activate",
G_CALLBACK(ok_dialog), dialog);
+ gtk_window_set_keep_above(GTK_WINDOW(dialog), TRUE);
+
/* Grab focus */
gtk_widget_show_now(dialog);
if (grab_pointer) {