gnome-ssh-askpass patch

Hidetomo Hosono h at kondara.org
Thu Jun 1 04:07:24 EST 2000


Hello, everyone.

I am Hidetomo Hosono, a member of Kondara Project.

## Kondara Project is a RPM-based Linux distribution development
## project from Japan.
## See if you want to know about us: http://www.kondara.org/

Thank you for your OpenSSH. I am enjoying to use it.
But I couldn't use it with gnome-ssh-askpass on
Kondara MNU/Linux 1.1
(includes linux-2.2.15+our extensions, XFree86-3.3.6 and gnome-libs-1.0.61).
When I executed gnome-ssh-askpass,
it stops before the buttons are shown.
So I read the source and I have found how to fix. Then I send.

Thank you for your reading.

----
Kondara Project, GNOME Guys A-team: Hidetomo -Hakondara- Hosono
[GnuPG] F263 A53C 1E2D FF0A A08B  B913 0CA7 EAA1 7ECE CEDB
http://www.kondara.org/
-------------- next part --------------
--- contrib/gnome-ssh-askpass.c.original	Wed Mar 15 10:13:03 2000
+++ contrib/gnome-ssh-askpass.c	Mon May 29 00:46:59 2000
@@ -79,7 +79,7 @@
 	gtk_widget_show_all(dialog);
 
 	/* Grab focus */
-	XGrabServer(GDK_DISPLAY());
+	/* XGrabServer(GDK_DISPLAY()); */
 	gdk_pointer_grab(dialog->window, TRUE, 0, NULL, NULL, GDK_CURRENT_TIME);
 	gdk_keyboard_grab(dialog->window, FALSE, GDK_CURRENT_TIME);
 
@@ -90,7 +90,7 @@
 	result = gnome_dialog_run(GNOME_DIALOG(dialog));
 		
 	/* Ungrab */
-	XUngrabServer(GDK_DISPLAY());
+	/* XUngrabServer(GDK_DISPLAY()); */
 	gdk_pointer_ungrab(GDK_CURRENT_TIME);
 	gdk_keyboard_ungrab(GDK_CURRENT_TIME);
 	gdk_flush();
@@ -119,9 +119,9 @@
 	
 	gnome_init("GNOME ssh-askpass", "0.1", argc, argv);
 
-	if (argc == 2)
+	/* if (argc == 2)
 		message = argv[1];
-	else
+	else */
 		message = "Enter your OpenSSH passphrase:";
 
 	if (passphrase_dialog(&passphrase, message))


More information about the openssh-unix-dev mailing list