[PATCH]: fix for Connect to server



Hi,

when connect to server is invoked from the new places menu item it uses
the standalone application nautilus-connect-server. It currently fails
in my GNOME 2.10 because it cannot get auth filling from gnome-keyring
neither password dialog. That's because
gnome_authentication_manager_init is not called, and then callbacks for
those functions are not installed.

Attached is a little patch fixing this issue.

Ok to commit?

Salu2
? depcomp
? nautilus-folder-handler.desktop
? stamp-h1
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/nautilus/ChangeLog,v
retrieving revision 1.6440
diff -u -u -r1.6440 ChangeLog
--- ChangeLog	22 Mar 2005 09:52:19 -0000	1.6440
+++ ChangeLog	22 Mar 2005 17:52:50 -0000
@@ -1,3 +1,9 @@
+2005-03-22  Fernando Herrera  <fherrera onirica com>
+
+	* src/nautilus-connect-server-dialog-main.c: (main): call
+	gnome_authentication_manager_init to use gnome-vfs auth 
+	callbacks.
+
 2005-03-22  Alexander Larsson  <alexl redhat com>
 
 	* configure.in:
Index: src/nautilus-connect-server-dialog-main.c
===================================================================
RCS file: /cvs/gnome/nautilus/src/nautilus-connect-server-dialog-main.c,v
retrieving revision 1.1
diff -u -u -r1.1 nautilus-connect-server-dialog-main.c
--- src/nautilus-connect-server-dialog-main.c	14 Jan 2005 11:11:38 -0000	1.1
+++ src/nautilus-connect-server-dialog-main.c	22 Mar 2005 17:52:51 -0000
@@ -34,6 +34,7 @@
 #include <libgnome/gnome-program.h>
 #include <libgnomeui/gnome-ui-init.h>
 #include <libgnomeui/gnome-url.h>
+#include <libgnomeui/gnome-authentication-manager.h>
 
 #include <eel/eel-preferences.h>
 #include <eel/eel-stock-dialogs.h>
@@ -103,6 +104,8 @@
 	gnome_program_init ("nautilus-connect-server", VERSION,
 			    LIBGNOMEUI_MODULE, argc, argv,
 			    NULL);
+
+	gnome_authentication_manager_init ();
 
 	eel_preferences_init ("/apps/nautilus");
 


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