[PATCH] Cleanup "Connect to Server" Dialog



The attached patch fixes the SFTP method label and changes the server
type combobox entry order. It should fix bug 168209 [1].

[1] http://bugzilla.gnome.org/show_bug.cgi?id=168209

-- 
Christian Neumair <chris gnome-de org>
Index: src/nautilus-connect-server-dialog.c
===================================================================
RCS file: /cvs/gnome/nautilus/src/nautilus-connect-server-dialog.c,v
retrieving revision 1.14
diff -u -p -r1.14 nautilus-connect-server-dialog.c
--- src/nautilus-connect-server-dialog.c	27 May 2005 08:46:04 -0000	1.14
+++ src/nautilus-connect-server-dialog.c	3 Jun 2005 21:35:49 -0000
@@ -77,9 +77,9 @@ enum {
 
 /* Keep this order in sync with strings below */
 enum {
-	TYPE_SSH,
 	TYPE_ANON_FTP,
 	TYPE_FTP,
+	TYPE_SSH,
 	TYPE_SMB,
 	TYPE_DAV,
 	TYPE_DAVS,
@@ -675,11 +675,11 @@ nautilus_connect_server_dialog_init (Nau
 	dialog->details->type_combo = combo = gtk_combo_box_new_text ();
 	/* Keep this in sync with enum */
 	gtk_combo_box_append_text (GTK_COMBO_BOX (combo),
-				   _("SSH"));
-	gtk_combo_box_append_text (GTK_COMBO_BOX (combo),
 				   _("Public FTP"));
 	gtk_combo_box_append_text (GTK_COMBO_BOX (combo),
 				   _("FTP (with login)"));
+	gtk_combo_box_append_text (GTK_COMBO_BOX (combo),
+				   _("SFTP"));
 	gtk_combo_box_append_text (GTK_COMBO_BOX (combo),
 				   _("Windows share"));
 	gtk_combo_box_append_text (GTK_COMBO_BOX (combo),


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