gvfs r2053 - in branches/gnome-2-24: . daemon



Author: alexl
Date: Thu Oct 16 16:55:36 2008
New Revision: 2053
URL: http://svn.gnome.org/viewvc/gvfs?rev=2053&view=rev

Log:
2008-10-16  Alexander Larsson  <alexl redhat com>

        * daemon/gvfsbackendftp.c:
        (do_mount):
	Revert last change, it should go on head (its a string change)



Modified:
   branches/gnome-2-24/ChangeLog
   branches/gnome-2-24/daemon/gvfsbackendftp.c

Modified: branches/gnome-2-24/daemon/gvfsbackendftp.c
==============================================================================
--- branches/gnome-2-24/daemon/gvfsbackendftp.c	(original)
+++ branches/gnome-2-24/daemon/gvfsbackendftp.c	Thu Oct 16 16:55:36 2008
@@ -1339,15 +1339,9 @@
     {
       GAskPasswordFlags flags;
       if (prompt == NULL)
-	{
-	  if (ftp->has_initial_user)
-	    /* Translators: the first %s is the username, the second the host name */
-	    prompt = g_strdup_printf (_("Enter password for ftp as %s on %s"), ftp->user, host);
-	  else
-	    /* translators: %s here is the hostname */
-	    prompt = g_strdup_printf (_("Enter password for ftp on %s"), host);
-	}
-	  
+	/* translators: %s here is the hostname */
+	prompt = g_strdup_printf (_("Enter password for ftp on %s"), host);
+
       flags = G_ASK_PASSWORD_NEED_PASSWORD;
         
       if (!ftp->has_initial_user)



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