On Fri, 2005-10-07 at 20:53 +0200, Christian Neumair wrote:
> Together with [1] this patch ensures that authentication windows are not
> shown again if they're cancelled.

         if (vfs_result_code == GNOME_VFS_OK
             || vfs_result_code == GNOME_VFS_ERROR_NOT_SUPPORTED
-            || vfs_result_code == GNOME_VFS_ERROR_INVALID_URI) {
+            || vfs_result_code == GNOME_VFS_ERROR_INVALID_URI
+           || vfs_result_code != GNOME_VFS_ERROR_CANCELLED) {

This part looks wrong (if result is a, b, or c, or result is anything
but cancelled, the last bit overrides the first). I don't think its
needed at all, is it?


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   [EMAIL PROTECTED]    [EMAIL PROTECTED] 
He's a maverick Amish gentleman spy with a winning smile and a way with the 
ladies. She's a chain-smoking cigar-chomping socialite with someone else's 
memories. They fight crime! 

-- 
nautilus-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/nautilus-list

Reply via email to