GNOME Bugzilla – Bug 332848
Display broken down URI's in 'Connect to Server' properly.
Last modified: 2006-03-24 05:54:18 UTC
Currently when accessing 'Connect to Server' from a network share, the URI is filled in ready to type a name and make a 'persistent' connection on the desktop. However if the user wants to modify any of the info (eg: the login name) they have to do it in the URI which is rather arcane (at least for most users). Will attach a patch that breaks down the URI back into the relevant text boxes and chooses the appropriate scheme from the drop down.
Created attachment 60325 [details] [review] Patch which displays URI in an editable form
Created attachment 61777 [details] [review] Updated with comments from Martin Wehner * Applies to HEAD * Proper sytle guidelines * Anonymous FTP handled properly.
2006-03-24 Martin Wehner <martin.wehner@gmail.com> * src/nautilus-connect-server-dialog-main.c: (main): Get the command line options and pass them on to the dialog. * src/nautilus-connect-server-dialog.c: (connect_to_server), (nautilus_connect_server_dialog_init), (setup_for_type): Use new MethodInfo struct to construct the UI. (display_server_uri): New function for initialising the UI based on the broken down parts of the URI. (nautilus_connect_server_dialog_new): Use display_server_uri. (get_method_description): New helper function. (port_insert_text): Accept more than one digit at a time. Display broken down URIs in 'Connect to Server' properly. (#332848) Patch from Nate Nielsen <nielsen@memberwebs.com>