[Goodies-commits] r7605 - gigolo/trunk/src
Enrico Troeger
enrico at xfce.org
Wed Jun 17 23:55:08 CEST 2009
Author: enrico
Date: 2009-06-17 21:55:08 +0000 (Wed, 17 Jun 2009)
New Revision: 7605
Modified:
gigolo/trunk/src/mountoperation.c
Log:
Sync with GTK upstream (see http://git.gnome.org/cgit/gtk+/commit/?id=84a9e65ca3bf407807dbe60c549169810c631601).
Modified: gigolo/trunk/src/mountoperation.c
===================================================================
--- gigolo/trunk/src/mountoperation.c 2009-06-17 21:44:27 UTC (rev 7604)
+++ gigolo/trunk/src/mountoperation.c 2009-06-17 21:55:08 UTC (rev 7605)
@@ -182,9 +182,13 @@
GigoloMountOperationPrivate *priv = GIGOLO_MOUNT_OPERATION_GET_PRIVATE(operation);
gboolean is_valid = TRUE;
- is_valid = entry_has_input(priv->username_entry) &&
- entry_has_input(priv->domain_entry) &&
- entry_has_input(priv->password_entry);
+ /* We don't require password to be non-empty here
+ * since there are situations where it is not needed,
+ * see bug 578365.
+ * We may add a way for the backend to specify that it
+ * definitively needs a password.
+ */
+ is_valid = entry_has_input(priv->username_entry) && entry_has_input(priv->domain_entry);
return is_valid;
}
More information about the Goodies-commits
mailing list